actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
431 stars 93 forks source link

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

Open ulugbekna opened 1 year ago

ulugbekna commented 1 year ago

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