We're reworking how we parse when clause contexts and noticed that we may break some of the when clauses used in your extension. You can read more in this issue, which describes upcoming changes: new features, breakages, and migration advice (latest VS Code Insiders now has a linter for when clauses and runs the new parser as default). You can also leave us feedback there.
Regexes on the right side of =~ don't need to be wrapped in single-quotes.
Hi 👋
VS Code team engineer here 🙂
We're reworking how we parse when clause contexts and noticed that we may break some of the when clauses used in your extension. You can read more in this issue, which describes upcoming changes: new features, breakages, and migration advice (latest VS Code Insiders now has a linter for when clauses and runs the new parser as default). You can also leave us feedback there.
Regexes on the right side of
=~
don't need to be wrapped in single-quotes.incorrect:
view =~ '/(servers)/'
correct:view =~ /(servers)/
Thanks for a great extension, it's very popular!
Best, Ulugbek