bracket-lens-vscode icon indicating copy to clipboard operation
bracket-lens-vscode copied to clipboard

incorrect annotation when multiline string literals are used

Open sjsepan3 opened this issue 1 year ago • 3 comments

when a multi-line string literal is used, the bracket-matching is mismatched form that point on

Screenshot from 2023-03-19 15-09-16

sjsepan3 avatar Mar 19 '23 19:03 sjsepan3

-issue observed in .net6.0, .net7.0 -extension version 1.5.3

Version: 1.76.2 Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 Date: 2023-03-14T17:57:21.103Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Linux x64 5.15.0-67-generic Sandboxed: No

sjsepan3 avatar Mar 19 '23 19:03 sjsepan3

Note: I am using older C# coding styles...

-not using top-level statements -not using file-scoped namespaces -not using implicit usings -not using 'var' keyword for declarations -using older style 'new' statements with Type name -using older style 'using' statements with braces

...but the issue remained even when I backed all of them. Only when I removed the line-break from the literal did the issue disappear.

sjsepan3 avatar Mar 19 '23 19:03 sjsepan3

BTW, awesome extension -- it really helps a lot! :-)

sjsepan3 avatar Mar 19 '23 19:03 sjsepan3