ElasticTabstops icon indicating copy to clipboard operation
ElasticTabstops copied to clipboard

Add option to ignore leading tabs (indentation)

Open LadyNamedLaura opened this issue 11 years ago • 2 comments

I use sublime a lot for coding, and I think ElasticTabstops can be very usefull for that to (aligning comments, ...) The only thing that is annoying (on de border of unacceptable) is that it interferes with my indentation tabs.

consider the following c code (well, actualy cpp, but well)

#define sommacro(blabla)    \
    do {                    \
        something(blabla)   \
    } while(false)

ElasticTabstops will try to align the do to the "" at the end of the first line wich is totally unwanted.

So please add an option to ignore indentation.

LadyNamedLaura avatar Aug 27 '14 13:08 LadyNamedLaura

Feel free to send pull requests too!

adzenith avatar Aug 27 '14 17:08 adzenith

I'm playing around with this, and one thing that I don't like is that it suddenly makes the layout dependent on the chosen tab width. One of the nice things about the current behaviour is that the files always look right no matter where you open them.

adzenith avatar Oct 27 '14 15:10 adzenith