Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parenthesis in string literals should be ignored #18

Open
safield opened this issue Oct 30, 2018 · 0 comments
Open

Parenthesis in string literals should be ignored #18

safield opened this issue Oct 30, 2018 · 0 comments

Comments

@safield
Copy link

safield commented Oct 30, 2018

This issue actually has two parts to it.

First, a stray single parenthesis in a string literal will break extension.selectParenthesis command.

Observe the following code

method("test blah ("+foo+" blah");

If I put my caret anywhere in the outer parenthesis, the command extension.selectParenthesis does nothing.

Secondly, it is my personal subjective preference that parenthesis inside of string literals be ignored by the selectParenthesis command.

So placing my caret anywhere in the following code, and executing selectParenthesis command, will select everything within the outer parenthesis...

method(" here is some (text)"+textVar);

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

No branches or pull requests

1 participant