redhat-developer / redhat-developer/yaml-language-server
Question about server plugins support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
Hello, everyone!
From what I saw from the docs, the language server doesn't support server plugins (it does support some at some extent, but not for adding custom logic to completions and etc). Are there any plans to support it?
My use case is the following: I have an extension that depends on the yaml-language-server and I would like to, in some cases, improve the autocompletion for a specific key/value in my YAML file.
With the server plugins, I could do like the typescript server (https://code.visualstudio.com/api/references/contribution-points#contributes.typescriptServerPlugins) and contribute with a plugin that would handle such cases for me, while the rest would work as normal.
As of now, the only alternative solution I have would be to create my own language server - but this brings it's own set of problems.
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 reviewing the documentation and existing plugin support, then compare the requested behavior with the TypeScript server plugin model linked in the issue. Done means extensions can add custom completion logic for YAML while the normal server behavior continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100