Replies: 4 comments 1 reply
-
so would it be possible to override the handler for textDocument/definition in certain filetypes? |
Beta Was this translation helpful? Give feedback.
-
also, there is some information in csharpls' repo itself. could be useful? |
Beta Was this translation helpful? Give feedback.
-
You need to create an extension of coc.nvim to decompilation the metadata, similar as vscode-csharp-ls, https://github.com/vytautassurvila/vscode-csharp-ls/blob/dd73a1733b2a68fb64512a7bdcf4bd2e03ce6d5b/src/cSharpLsServer.ts#L197-L209. Made a You're setting up csharp-ls with |
Beta Was this translation helpful? Give feedback.
-
so there MUST be an extension \: |
Beta Was this translation helpful? Give feedback.
-
hey, I have my csharp lsp up & running using coc.nvim with this configuration in my coc-settings
the problem is that I can't use "go to definition" for third party libraries (well, I can; but I see an empty buffer).
I'm new to csharp & I think the buffer needs to be decompiled first (in order to see the content)
there is a vim plugin which does this; but their documentation uses lspconfig.
link: https://github.com/Decodetalkers/csharpls-extended-lsp.nvim?tab=readme-ov-file#usage
I don't know how to set this up with neovim. is it possible to somehow re write the lua code in the usage section to call the setup method on csharpls?
thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions