microsoft / microsoft/language-server-protocol
Allow clients to report their own name and version to server
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
Currently there seems to be hard-coded behaviour which means that any client implementation will always report itself as vscode and version of VS Code itself (e.g. 1.57.0):
However it seems more relevant and helpful to be reporting the real client name (e.g. extension name or package name) and version.
Would you be open to a PR that allows clients to overwrite clientInfo?
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 at the client.ts location linked in the issue, around lines 3217-3220, and trace how clientInfo is currently constructed and sent. Determine how client implementations could provide their own name and version; done means clients can report values other than the hard-coded VS Code identity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100