Skip to content

Conversation

@b4ckup
Copy link

@b4ckup b4ckup commented Feb 13, 2019

Lovely extension, but when coding in python it was annoying to me that the line scope selector just ran over comment lines as I think a comment line should be treated just like a blank line. The lack of scope seperators such as { } in python makes this even more annoying. So I implemented a configuration setting called "stopregexes" where each user can define a set of regexes to match the line against. If the match is true, the line will be treated just like a blank line. The name "stopregexes" could maybe be better but if you want to use this code, feel free...

@cpmcgrath
Copy link
Owner

Hi,
Sorry for the silence on this. I'll try to review this on the weekend. The regular version of code alignment ( https://github.com/cpmcgrath/codealignment ) had a similar feature, so I might check for consistency between the two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants