Skip to content
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

Doesn't show method descriptions, param types, or anything else in coc.nvim #82

Open
rosshadden opened this issue Jun 16, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@rosshadden
Copy link

I don't really know where to ask this, because I'm not sure if it's a problem with my coc language server config or if it's a problem with nimlsp. I use the same config that everybody and their mother recommends:

		"nim": {
			"command": "nimlsp",
			"filetypes": [ "nim" ],
			"trace.server": "verbose"
		},

This works and has worked for quite a while now. However it only shows basic completions. They don't seem to always be context-aware and don't show anything more than just the names themselves.

Here's an example from nim in my neovim with the above language server config:

image

Every other language I use with an LSP configured shows much more. Here's an example from a Go project within reach:

image

Am I doing something wrong? Is something broken on my end? Or are these LSP features not implemented in nimlsp at this time? Thanks!

@PMunch
Copy link
Owner

PMunch commented Aug 9, 2021

I think it's an extra LSP thing that is not currently implemented, possibly textDocument/signatureHelp but LSP is unfortunately quite poorly documented for what each thing is supposed to do..

@PMunch PMunch added the enhancement New feature or request label Aug 9, 2021
@igorgue
Copy link

igorgue commented Sep 17, 2021

I wonder why this works with the VSCode extension but non on Coc

@firasuke
Copy link

firasuke commented Dec 4, 2021

I wonder why this works with the VSCode extension but non on Coc

I can confirm that it works on VSCodium as well, but not on CoC...

Apparently it shows multiple identical suggestions and a random few of those have the help text on them:

nim

While others don't:

othernim

@PMunch
Copy link
Owner

PMunch commented Dec 4, 2021

I recently implemented combining stuff with the same name into one entry. But for the full completion I think we need textDocument/signatureHelp implemented. I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants