Skip to content

Fix mapping in razor x-file codespaces#49220

Merged
dibarbet merged 2 commits intodotnet:masterfrom
dibarbet:rename_codespaces
Nov 10, 2020
Merged

Fix mapping in razor x-file codespaces#49220
dibarbet merged 2 commits intodotnet:masterfrom
dibarbet:rename_codespaces

Conversation

@dibarbet
Copy link
Member

@dibarbet dibarbet commented Nov 7, 2020

Resolves #49216

Previously the text edits were not being remapped correctly as we were only mapping Locations and not TextDocumentEdits. This adds a function to properly convert from solution changes to LSP document edits.

cc @NTaylorMullen

@dibarbet dibarbet added Area-IDE LSP issues related to the roslyn language server protocol implementation labels Nov 7, 2020
@dibarbet dibarbet requested a review from a team as a code owner November 7, 2020 02:42
@dibarbet dibarbet merged commit 167a47d into dotnet:master Nov 10, 2020
@ghost ghost added this to the Next milestone Nov 10, 2020
@dibarbet dibarbet deleted the rename_codespaces branch November 10, 2020 00:55
@allisonchou allisonchou modified the milestones: Next, 16.9.P2 Nov 24, 2020
dibarbet added a commit to dibarbet/roslyn that referenced this pull request Nov 24, 2020
dibarbet added a commit to dibarbet/roslyn that referenced this pull request Nov 24, 2020
dibarbet added a commit that referenced this pull request Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE LSP issues related to the roslyn language server protocol implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Renaming C# in Codespaces does not apply to impacted Razor files closed or open.

3 participants