Skip to content

Conversation

Cosifne
Copy link

@Cosifne Cosifne commented May 4, 2023

Roslyn use
ISymbolRenamedCodeActionOperationFactoryWorkspaceService to do extra work when rename.
And O# provides the implementation in the extern layer OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService

However, this looks like wrong, because O# is just create an unnecessary rename action.
This would be cleaned by this change dotnet/roslyn#68095

@JoeRobich
Copy link
Member

@Cosifne I believe we will need to remove https://github.com/dotnet/roslyn/blob/main/src/Tools/ExternalAccess/OmniSharp/CodeRefactorings/WorkspaceServices/IOmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs#L9 from the EA library before we can merge this change. Otherwise our MEF composition doesn't work.

@Cosifne
Copy link
Author

Cosifne commented Jul 3, 2023

@JoeRobich
I have submitted this dotnet/roslyn#68097

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.

2 participants