ace icon indicating copy to clipboard operation
ace copied to clipboard

Option for number of spaces as indentation

Open arvinsim opened this issue 10 years ago • 5 comments

Current indentation rule is 2 spaces.

It would be better if there is an option to set this to to other values like 4 spaces. It is cumbersome to change the space tabbing everytime I edit an Ace file since almost everything else I work on use 4 spaces.

arvinsim avatar Mar 02 '15 06:03 arvinsim

Thanks for your comment. I'll think of adding this option.

yosssi avatar Mar 02 '15 08:03 yosssi

It looks like I am in the wrong place, but since we are at this topic: How about allowing TAB for indention?

TheHippo avatar Apr 01 '15 03:04 TheHippo

Thanks for your comment. I think it would be nice if we could add an option that specifies the indent rule (2 spaces, 4 spaces or tab) to the Options struct.

yosssi avatar Apr 01 '15 03:04 yosssi

I'll try to look into this.

The fix should be applied somewhere around here in line.go

TheHippo avatar Apr 01 '15 04:04 TheHippo

YES. Tabs, pls!!! :} Just like go, and just like a lot of sane code... :}

jf avatar Jun 18 '15 22:06 jf