[antlr-interest] ANTLRWorks inserting tabs

Steve Bennett stevagewp at gmail.com
Sat Dec 8 17:36:07 PST 2007


On 12/8/07, Mark Volkmann <r.mark.volkmann at gmail.com> wrote:
> Is there a way to configure ANTLRWorks so it doesn't insert tabs while
> editing a grammar?
> It often does this before and after the colon and vertical bar
> characters in rules.

There's one option in File | Preferences | Editor ("Auto-indent ':' in
rule). It still creates tabs when you type a | on a new line though,
for instance.

It would certainly be nice if you could make it definable insert a
number of spaces rather than a tab character. Tabs quickly descend
into chaos if you're moving the file around different editors,
operating systems etc.

Steve


More information about the antlr-interest mailing list