-
Notifications
You must be signed in to change notification settings - Fork 168
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
"Rename file to match type" code action not working #454
Comments
What project structure do you use, Core or full framework? |
Renaming a file is outside OmniSharp-roslyn's scope, so we'll need to do a bit more work on the OmniSharp-vim side. I haven't looked into this but I expect the OmniSharp-roslyn response will contain the new filename, and we should use that to perform the rename. We might be able to take some inspiration from vim-eunuch's |
It turns out this is not out of OmniSharp-roslyn's scope at all - it is actually the server that deletes the old file and creates the new one. But we needed to request it properly and handle the buffers tidily on our end. Done now. |
hey,
when i try to rename a file to match the class/interface name in it with a omnisharp-roslyn code action nothing happens.
I only receive the message "No actions taken"
The text was updated successfully, but these errors were encountered: