Skip to content

Fix request snapshot bug for languages without an LSP server implementation#63031

Merged
emilyanas2323 merged 1 commit intodotnet:mainfrom
emilyanas2323:emilyanas/doc-outline-request-snapshot-bug
Jul 29, 2022
Merged

Fix request snapshot bug for languages without an LSP server implementation#63031
emilyanas2323 merged 1 commit intodotnet:mainfrom
emilyanas2323:emilyanas/doc-outline-request-snapshot-bug

Conversation

@emilyanas2323
Copy link
Copy Markdown
Contributor

For a language that doesn't have an LSP server implementation for the document symbol request, we will always throw since the request snapshot will be null. Instead of throwing, we should check whether the request snapshot or response is null.

@emilyanas2323 emilyanas2323 enabled auto-merge (squash) July 28, 2022 21:56
@emilyanas2323 emilyanas2323 merged commit ec38db3 into dotnet:main Jul 29, 2022
@ghost ghost added this to the Next milestone Jul 29, 2022
@dibarbet dibarbet modified the milestones: Next, 17.4 P2 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants