[fpc-pascal] Adding code indentation without Lazarus

Sven Barth pascaldragon at googlemail.com
Tue Jan 3 09:31:54 CET 2012


As Marco said the tool wasn't updated for quite some time (according to 
SVN around 4 years), so if you find language constructs that aren't 
indented correctly you should add a bug report to 
http://bugs.freepascal.org/ (I don't know though how friendly the bug 
tracker is for blind people).

Regards,
Sven

Am 03.01.2012 00:43, schrieb Luciano de Souza:
> 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.vancanneyt at 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 at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list