microsoft / microsoft/language-server-protocol
Trigger signature help after autocompletion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
moving issue from https://github.com/microsoft/vscode-languageserver-node/issues/663 and reviving similar issue from https://github.com/microsoft/language-server-protocol/issues/523
an example scenario is that, if a user commits a method from completion, we would like to insert methodName + () and put the caret between () and start signature help.
currently, one can use some trick to accomplish this but it requires some client-specific tricks such as "https://github.com/golang/vscode-go/blob/e15a8a2fa00f263e0fc6385efe4d3fbd6284b605/src/goLanguageServer.ts#L355-L377" or sending vscode specific "editor.action.triggerParameterHints" command after completion commits from the server. but both of them have their own issues.
it would be nice if spec supports this scenario so that it can work with any clients.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with this issue and the linked vscode-languageserver-node#663 and language-server-protocol#523 discussions to understand the proposed protocol behavior. Determine how completion commits should request signature help across clients; done means an agreed protocol specification supports the scenario without client-specific tricks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100