How to indent const, type, var by default

Issue #72 wontfix
Former user created an issue

Dear Team,

it would be great to have the possibility to set the indentation of const, type, var (or any other keyword) manually. The style rules at my university for example say that type, const, var have to be indented one tab size in relation to it's scope definition, e.g.:

program HelloWorld (input, output);

    type
    tNatZahl = 0..maxint;

    const
    MININT = 0 - MaxInt;

begin
    writeln('Hello World');
end.

I tried to insert the indentation by myself in the editor preferences for Pascal but it just overwrites my inserted tab after clicking ok.

Thx in advance and thx for the great work. Pascal IDEs like Geany or even Lazarus are a huge pain in the... neck. I said neck. :-)

Best regards Mathias

Comments (1)

  1. Log in to comment