Skip to content
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

Ensure the fix all resolve request reads an existing field #7536

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Sep 9, 2024

The title property never existed on the data object we get from the server. A server side change made it required for all code action requests (per LSP spec), so started throwing when we passed null.

This changes the client side to pass a value that is always provided in the data - https://github.com/dotnet/roslyn/blob/bd5c00e5e09de8564093f42d87fe49d4971f2e84/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionResolveData.cs#L26

Resolves #7535

@dibarbet dibarbet requested a review from a team as a code owner September 9, 2024 18:08
@dibarbet dibarbet merged commit 3c57a09 into dotnet:main Sep 9, 2024
13 checks passed
@dibarbet dibarbet deleted the fix_all_fix branch September 9, 2024 20:31
dibarbet added a commit to dibarbet/vscode-csharp that referenced this pull request Sep 9, 2024
Ensure the fix all resolve request reads an existing field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any FixAll CodeFix does not work anymore.
2 participants