microsoft / microsoft/language-server-protocol
Is the any form of autocompletion/insertion in the LSP?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
Im working on the XML Language Server and we've implemented a custom service to auto insert the end tag of an element.
Start with:
<a
Type the '>' character:
<a>
Without any user interaction '</a>' is automatically inserted:
<a> </a>
Does something currently exist/is being considered in the protocol that would provide the same functionality?
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 the XML end-tag insertion example and review the protocol's completion and text-edit entry points. The issue names no files or tests, so first determine whether existing capabilities cover this behavior. Done means establishing whether the protocol already supports it or defining what protocol change would be needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, xml
- Domain
- api, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100