lua-debug icon indicating copy to clipboard operation
lua-debug copied to clipboard

Heads up: when clauses may be broken with the next VS Code release

Open ulugbekna opened this issue 2 years ago • 0 comments

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.

Here are the clauses that will be broken:

current: foo =~ /file// reason: the slash within the regex is unescaped fixed: foo =~ /file\\//

Thanks for a great extension, it's very popular!

Best, Ulugbek

ulugbekna avatar Mar 06 '23 11:03 ulugbekna