OmniSharp / omnisharp-roslyn

OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
MIT License
1.73k stars 417 forks source link

Code Action context menu is excessively large #1702

Open JacksonKearl opened 4 years ago

JacksonKearl commented 4 years ago

Hello, VS Code developer here 👋

I see you've added code actions for refactorings, but the text for these actions can grow exessively large: image

User experience might be better if this was condensed, for instance in the TS extension the title only shows the action name, not the full text of the section it will operate upon. image

filipw commented 4 years ago

I will move this to omnisharp-roslyn repo. It's there where we compose the composite name if the code actions are hierarchical

https://github.com/OmniSharp/omnisharp-roslyn/blob/62b3b52d01251fdc0564a600010936e677f24a2e/src/OmniSharp.Roslyn.CSharp/Services/Refactoring/V2/AvailableCodeAction.cs#L25-L30