You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is what I have put in, as well as dozens of other versions of the same thing.
I am trying to select in my code any time there is a ! logic operand, like
if (!$phpVar) {
would grab the (! all the way through the ) is what I want.
I guess my 52 year old eyes just never see the opening ! in those little statements and I am trying to mark them better with some bold etc...
Any ideas why all your samples you provided work perfectly, and I can even alter the text and restart vscode and make it work for other text like TODO_TEST type thing.
But cannot figure out how to make it grab the (! ... )
THANKS!
Also, a regex in vscode search box for (!.*?) does indeed find all my occurences and selects the range I am hoping to highlight. So I thought double escaping would do the trick... but it does not.
Doesn't exactly answer your question, but I have a similar issue with often missing ! so I created a theme that renders operators (including the !) in bold:
Here is what I have put in, as well as dozens of other versions of the same thing.
I am trying to select in my code any time there is a ! logic operand, like
if (!$phpVar) {
would grab the (! all the way through the ) is what I want.
I guess my 52 year old eyes just never see the opening ! in those little statements and I am trying to mark them better with some bold etc...
Any ideas why all your samples you provided work perfectly, and I can even alter the text and restart vscode and make it work for other text like TODO_TEST type thing.
But cannot figure out how to make it grab the (! ... )
THANKS!
Also, a regex in vscode search box for (!.*?) does indeed find all my occurences and selects the range I am hoping to highlight. So I thought double escaping would do the trick... but it does not.
"highlight.regexes": { "\\(!.*?\\)": { "filterFileRegex": ".*(?<!CHANGELOG.md)$", "decorations": [ { "overviewRulerColor": "#ffcc00", "backgroundColor": "#ffcc00", "color": "#1f1f1f", "fontWeight": "bold" }, { "backgroundColor": "#ffcc00", "color": "#1f1f1f" } ] },
The text was updated successfully, but these errors were encountered: