[Gambas-user] Pretty Printer

Charlie karl.reinl at ...9...
Sun May 25 20:02:01 CEST 2003


Salut,

writing actually a little tool to help you to make your sourcecode 
easier to read, I call it Pretty Printer.
This tool  is going on the raw file and makes the changes you set (but 
don't yet save them).

I tried it on gambas Project.class (0.56) and didn't see no more case 
which is not handled ( this class is attached to the project as 
Project.test.)
In Main.module you can set it for testing or take any other file.

Actually only clean Syntax is supported, I mean If you have more then 
one blank in Keywords I don't find it.
If you find Keywords in you code whos not handled, please let me know or 
add it to the array ( and let me know).

The project like it is does NOT make changes to the file, it is only for 
testing.

In FIndenter.class you find the SUB Indenter, which is comment out.
Before using read the changes to make. ( I had a look to the 0.57 
FEditor.class , it's still right)
And you know you do it on your own risc.

Oh yes, the setting are not saved .:-(

Amicalement
Charlie

   


 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Indenter.tar.gz
Type: application/x-tar
Size: 17055 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20030525/5dd20acd/attachment.tar>


More information about the User mailing list