dail8859 / ElasticTabstops

Elastic Tabstops plugin for Notepad++
GNU General Public License v2.0
77 stars 16 forks source link

exclude character sequence #26

Open gragia79 opened 2 years ago

gragia79 commented 2 years ago

I use this plugin and it does a lot for me working with symbolic files, I find myself sometimes that to separate a block of variables from another I insert a nop or a comment line. this confuses the alignment. Can I put a string not to be considered in the configuration file? example exclude ";;" or exclude "//" Thank you

dail8859 commented 2 years ago

Could you provide a couple examples or screenshots?

gragia79 commented 2 years ago

I am attaching an imag ex_Notepad_ElasticTab e

gragia79 commented 2 years ago

or if possible, define the 1st Tab at 10, the 2nd with 5, the 3rd with 15 and so on, which is valid for the .xxx extension file.

dail8859 commented 2 years ago

Can I put a string not to be considered in the configuration file?

The screenshot helps. Thanks! I definitely understand the need and it seems reasonable but not sure how much it might mess up the algorithm that calculates the tab widths. Depending on how soon I can get my development machine set back up I may or may not attempt this but pull requests are always welcome.

or if possible, define the 1st Tab at 10, the 2nd with 5, the 3rd with 15 and so on, which is valid for the .xxx extension file.

I'd consider this outside the scope of the plugin since it is such a change. This plugin is intended to just implement the original design as specified here: https://nickgravgaard.com/elastic-tabstops/