-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Run Yaml VSCode plugin as Che7 plugin #12142
Comments
Infos from @NikolasKomonen for installing vscode extensions in Theia: Steps for Theia/lsp4xml:
If it doesn't work:
and Command Palette is the F1 key |
Would like to add on, that each VSCode extension has a 'Unique Identifier' which can be found on the marketplace eg: the XML Language server is "vscode:extension/redhat.vscode-xml" and can be found here under 'Unique Identifier' And for YAML it is: "redhat.vscode-yaml" This identifier is the thing you paste into the 'deploy plugin id' command |
I've been exploring VSCode-YAML in Theia and it looks like a few features aren't working. The language server currently supports validation, format, auto completion, hover, document outlining, and automatically loading schemas from JSON schema store. However, it looks like only document outlining is working despite the languages api being implemented for those features IIRC. The first step to verifying validation, autocompletion, and hover would be to fix eclipse-theia/theia#3892 so that we are able to set schemas. For formatting it looks like this PR should fix this I'm still looking into it but I don't have a direct inclination as to why JSON schemas aren't automatically being pulled from the schema store. |
first of all thanks for the info, this is what I was looking for
forgive my ignorance, not sure shall i build https://github.com/eclipse/che from source or do i need to build https://github.com/theia-ide/theia in order to achieve it @tsmaeder @NikolasKomonen |
Package vscode-yaml extension as a Che 7 plugin and publish it to the plugin registry.
Write down the necessary steps as part of Che 7 documentation. I believe @l0rd would know where to put the doc.
Once we have the last vscode languages API's implemented, running vscode-yaml in Theia "should just work" :-)
The text was updated successfully, but these errors were encountered: