-
Notifications
You must be signed in to change notification settings - Fork 223
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
Add document symbols for #region
#2003
Conversation
1fbd190
to
d7d1d30
Compare
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.
LGTM
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.
Lookin' good, just one thing we need to change up
src/PowerShellEditorServices/Services/TextDocument/Handlers/CodeLensHandlers.cs
Outdated
Show resolved
Hide resolved
src/PowerShellEditorServices/Services/TextDocument/Handlers/DocumentHighlightHandler.cs
Outdated
Show resolved
Hide resolved
@@ -123,6 +123,7 @@ public PssaCmdletAnalysisEngine Build(string pssaModulePath) | |||
|
|||
/// <summary> | |||
/// Format a script given its contents. | |||
/// TODO: This needs to be cancellable. |
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.
This one is a big ol' "waiting on PSSA" right?
Co-authored-by: Andy Jordan <andy.jordan@microsoft.com>
Removing the timer and unnecessary allocations.
By consistently using a static empty container, and breaking instead of throwing on cancellation.
d7d1d30
to
e16ca88
Compare
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.
LGTM!
And some technical debt clean-ups.
Replaces (and re-uses!) @fflaten's #1911.
Resolves PowerShell/vscode-powershell#3604 and PowerShell/vscode-powershell#3210.