-
Notifications
You must be signed in to change notification settings - Fork 59
feat(LanguageServiceProvider): added code comment collapsing #1638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kishan Patel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess all comment tokens will go through this function
https://github.com/sassoftware/vscode-sas-extension/blob/main/server/src/sas/SyntaxProvider.ts#L254
SyntaxProvider can collect all multiline comments and provide an API for consumers to get.
Signed-off-by: Kishan Patel <[email protected]>
Hi @kpatl1, have you seen my comment above? I guess it can be a uniform way to collect all comment tokens. |
Signed-off-by: Kishan Patel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good to me. Thanks!
Signed-off-by: Kishan Patel <[email protected]>
Signed-off-by: Kishan Patel <[email protected]>
Summary
Added multiline comment folding support for SAS files. Users can now collapse/expand multiline comment blocks (/* ... */) using folding arrows in the editor margin, matching the existing folding behavior for data steps and procs.
Testing
Fixes #1579