Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Code Action: Extract Interface (Produces Error) #152

Closed
vorhey opened this issue Apr 23, 2024 · 5 comments
Closed

Code Action: Extract Interface (Produces Error) #152

vorhey opened this issue Apr 23, 2024 · 5 comments

Comments

@vorhey
Copy link

vorhey commented Apr 23, 2024

Hello
Attempting to extract interface from Foo produces "nil" value error

namespace Sandbox
{
    public class Foo
    {
        public string Bar(string s) => s;
    }
}

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/buf.lua:642: attempt to index local 'action' (a nil value) stack traceback: /usr/share/nvim/runtime/lua/vim/lsp/buf.lua:642: in function 'apply_action' /usr/share/nvim/runtime/lua/vim/lsp/buf.lua:697: in function 'handler' /usr/share/nvim/runtime/lua/vim/lsp.lua:1393: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>

@razzmatazz
Copy link
Owner

Hey @JorgeHerreraU.
Just to confirm, are you using the latest version, 0.12.0?

@vorhey
Copy link
Author

vorhey commented Apr 24, 2024

Hi @razzmatazz
There you are

NVIM v0.9.5
csharp_ls: v0.12.0
OS: openSUSE Tumbleweed
dotnet: v8.0.204

@razzmatazz
Copy link
Owner

Can confirm with emacs/eglot

@razzmatazz
Copy link
Owner

Should be fixed with this commit: f6b7138

@razzmatazz
Copy link
Owner

0.13.0 has been released that contains a fix for this issue:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants