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

Update inline rename code following completion of TypeScript external access work #43634

Merged

Conversation

allisonchou
Copy link
Contributor

@allisonchou allisonchou commented Apr 24, 2020

TypeScript recently moved inline rename to the external access API.
This PR is a follow-up that accomplishes the following:

  1. Moves DefinitionLocations property from IInlineRenameInfoWithFileRename to IInlineRenameInfo: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1077984/
  2. Adds a new parameter "triggerText" to GetConflictEditSpan() and GetReferenceEditSpan() so that we can do more work asynchronously: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1080161/

@allisonchou allisonchou merged commit 3ae0f79 into dotnet:master Apr 27, 2020
@ghost ghost added this to the Next milestone Apr 27, 2020
@sharwell sharwell modified the milestones: Next, temp, 16.7.P1 Apr 28, 2020
@genlu
Copy link
Member

genlu commented Apr 28, 2020

This change break XAML.
https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_git/VS/pullrequest/245253

Q:\cmd\1w\src\Xaml\Designer\Source\XamlLanguageService\CodeAnalysis\Features\InlineRename\XamlRenameInfoService.cs(119,40): error CS0535: 'XamlRenameInfoService.XamlRenameInfo' does not implement interface member 'IXamlRenameInfo.DefinitionLocations'
Q:\cmd\1w\src\Xaml\Designer\Source\XamlLanguageService\CodeAnalysis\Features\InlineRename\XamlRenameInfoService.cs(177,43): error CS0535: 'XamlRenameInfoService.FailureRenameInfo' does not implement interface member 'IXamlRenameInfo.DefinitionLocations'

Need to revert to unblock insertion, and later make a dual insertion with updated XAML bits. FYI @agocke @vatsalyaagrawal

genlu added a commit to genlu/roslyn that referenced this pull request Apr 28, 2020
…DeclarationsTSRename"

This reverts commit 3ae0f79, reversing
changes made to a2ec364.
genlu added a commit that referenced this pull request Apr 29, 2020
Revert "Merge pull request #43634 from allisonchou/IVTInterfaceDeclar…
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.

4 participants