I have tested ptop with very good results. It does really what I want. As it is possible to get the default cfg with '-g", we can change it and call the changed cfg with '-c'. It's really a powerful and easy tool.

Em 02-01-2012 14:29, Marco van de Voort escreveu:
In our previous episode, michael.vancann...@wisa.be said:
My editor is Gedit. In Linux, there are not lots of accessible
editors. For this reason, I don't think I will get a plugin to do it
for me.

So I ask: Does someone know a commandline tool that indents the code
automatically?
Yes. FPC comes with a tool ptop. It indents code. It is probably not as
powerful as the lazarus code formatter, but it does the job.
Hasn't been dialect updated for quite a while I think.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to