redhat-developer / redhat-developer/yaml-language-server
Problem with trigger characters and autocompletion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
After we have set the trigger characters up there seems to be a few issues with the trigger characters and autocompletion. Sometimes you'll find the trigger characters activate autocompletion one space too early which causes invalid autocompletion elements. It might have to do with something in https://github.com/redhat-developer/yaml-language-server/blob/master/src/server.ts#L503
Contributor guide
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 by reading src/server.ts around line 503 and reproduce the behavior with configured trigger characters and autocompletion. Check when completion is activated relative to the preceding space and identify cases that produce invalid elements. Done means trigger characters activate at the intended position without premature or invalid completions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100