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

Remove OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService #2529

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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