sassoftware / vscode-sas-extension

This SAS Extension for Visual Studio Code provides support for the SAS language, including features such as SAS syntax highlighting, code completion, hover help, code folding, outline, SAS code snippets and run SAS code.
https://sassoftware.github.io/vscode-sas-extension/
Apache License 2.0
117 stars 47 forks source link

Incorrect bracket matching #1213

Open zby909 opened 1 week ago

zby909 commented 1 week ago

Describe the bug In this kind of SAS code, bracket highlighting and formatting will fail.

%let indent1=%nrstr((ESC)R'\li200');

image

The last bracket is now red

Expected behavior Correct bracket matching and highlighting

Screenshots

Environment (please complete the following information): Client OS: [e.g. Windows 10] Extension version: v1.10.2 SAS version:

Additional context Formatting code may fail when bracket mismatch occurs