Skip to content

Remove OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService - #2529

Open
Cosifne wants to merge 3 commits into
OmniSharp:masterfrom
Cosifne:dev/shech/RemoveService
Open

Remove OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService#2529
Cosifne wants to merge 3 commits into
OmniSharp:masterfrom
Cosifne:dev/shech/RemoveService

Conversation

@Cosifne

@Cosifne Cosifne commented May 4, 2023

Copy link
Copy Markdown

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
Copy Markdown
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

Cosifne commented Jul 3, 2023

Copy link
Copy Markdown
Author

@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