dls icon indicating copy to clipboard operation
dls copied to clipboard

Completions not Working for Function Parameters?

Open ghost opened this issue 6 years ago • 3 comments

There's no completion after typing "(", it doesn't keep the details of the function visible. Also when using Ctrl+Space it doesn't seem to fetch any completions. Most other LSP show the completions of the context of where the cursor is. It seems to just use the default VS Code list instead.

compl

ghost avatar Jun 07 '19 16:06 ghost

I don't think DCD has ever provided completions when there is no word beginning to work with. Did this work before ? I never trigger autocompletion like this, so I don't know if this is a regression or if it never worked.

LaurentTreguier avatar Jun 07 '19 18:06 LaurentTreguier

Hmm yah, don't think it is implemented in DCD. The function calltips though should be.

ghost avatar Jun 08 '19 00:06 ghost

Just FYI this is supposed to trigger textDocument/signatureHelp. A language server provides the trigger characters for it to the client (in this case I presume ( and ,) and then the client is supposed to request textDocument/signatureHelp. The server should respond with a list of overloads/params.

rwols avatar Jun 17 '19 19:06 rwols