Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

exclude character sequence #26

Open
gragia79 opened this issue Jan 3, 2022 · 4 comments
Open

exclude character sequence #26

gragia79 opened this issue Jan 3, 2022 · 4 comments

Comments

@gragia79
Copy link

gragia79 commented Jan 3, 2022

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
Copy link
Owner

dail8859 commented Jan 8, 2022

Could you provide a couple examples or screenshots?

@gragia79
Copy link
Author

I am attaching an imag
ex_Notepad_ElasticTab
e

@gragia79
Copy link
Author

gragia79 commented Feb 7, 2022

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
Copy link
Owner

dail8859 commented Feb 8, 2022

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/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants