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

fix: revise logic of _getIndentIncrementOfNextLine function and _getSemicolonTriggeredIndentEdit function #1084

Closed bitaoz closed 2 months ago

bitaoz commented 2 months ago

Summary Resolve https://github.com/sassoftware/vscode-sas-extension/issues/652, revise the logic of the _getIndentIncrementOfNextLine function and _getSemicolonTriggeredIndentEdit function.

Testing Type "%macro test (test);" and "enter", Indentation works properly.

Zhirong2022 commented 2 months ago

All issues have been fixed.