-
-
Notifications
You must be signed in to change notification settings - Fork 882
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
Generating overrides issue #3558
Comments
cc @razzmatazz |
hey @pro-anon which lsp server are you using, omnisharp or csharp-ls? |
oops, sorry; I see that you have that on your report.. |
@razzmatazz I don't think omnisharp supports code generation. Iirc it only had fixing imports/using statements as a code action |
@razzmatazz does it work on your machine? It might be an issue with my config, I'm not sure. I'm using spacemacs |
It does work for me (doom emacs mostly, and vim sometimes), but in your case you hit some funny case where
Would it be possible to get reduced test case for this (a zip file with project contents)? Unless your project is open-source or a trivial? |
it can also be that name for this code action could indicate that the action requires parameters to be specified for the code to be generated and we dont pass any.. |
oh my... it really does not work; I will register this on csharp-ls repo: will track the solution there |
if it is ok for you @pro-anon I am closing this as this is actually a bug in csharp-ls (sorry for transfering you to a second repo already today :E ) |
No problem |
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
This is
csharp-mode
withlsp
as backendI can't generate overrides using
lsp-execute-code-action
This is the error it shows:
Steps to reproduce
Expected behavior
Should show a list of methods that can be overridden, and then insert its signature in the editor upon selection.
Which Language Server did you use?
csharp-ls
OS
Linux
Error callstack
The text was updated successfully, but these errors were encountered: