-
Notifications
You must be signed in to change notification settings - Fork 17
Query:- Yaml Support for language server #1041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We support basicly application.yaml in quarkus tooling which provides completion hover and validation for quarkus properties generated from the Java quarkus project. To do that we generate by the quarkus language server a yaml json schema whith those quarkus properties and that is it. After that in Intellij we have defined a json schema extension point which uses this generated schema. In vscode we use the yaml json extension from vscode-yaml. It provides basic support. Ideally it would be nice to have an extensible yaml language server to manage custom completion (not based on json schema) like we did with our xml language server lemminx. But is is an hard and long work, I am not sure that it is the priority of the yaml language server. |
@angelozerr |
No but I am sure it is possible. Perhaps I am wrong. I suggest that you ask to yaml language server community
Ok But in Intellij I am not sure it is a good idea to consume yaml ls since IntelliJ provides a nice yaml support. You will need for instance filter error from yaml ls to avoid shoxing duplicate error with the IntelliJ yaml validator |
Sorry I don't give you answer about your question. This yaml support has been moved to the vscode MicroProfile support |
I close this issue since it was just a discussion. |
Hi @angelozerr
As part of a new project, we need a language server for yaml with support for Code completion, hover, diagnostics, document link and code actions with clients for eclipse, intellij and vscode. We have some additional functionality as well, where we need to call some API’s and show some live completions for some fields.
I came across this issue https://github.com/redhat-developer/yaml-language-server/issues/190 that you have added in yaml-language-server
I could see part of this #112 that you tried to extend the vscode-yaml functionality to your quarkus vscode client with this but PR code is not present in master branch now. May I know whether you changed your approach on implementing yaml related capabilities for the quarkus ls and what is the progress now?
Did you implement you own vesion of language server in java for this?
Would you recommend a new language server implementation in java for this?
Please share your thoughts
The text was updated successfully, but these errors were encountered: