-
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
Add Theia Plugin APIs to support VS Code Kubernetes Tooling #10574
Comments
@vparfonov @slemeur I added the list of commands to support first:
|
It would be nice to cover the use case of Camel Language Server https://marketplace.visualstudio.com/items?itemName=camel-tooling.vscode-apache-camel I'm not sure how to know all the API/commands that are used. On Language Server side, we can see the "activated" features here https://github.com/camel-tooling/camel-language-server/blob/c50fb5954cf521b3471651e2856ca4e1ce00b8a9/src/main/java/com/github/cameltooling/lsp/internal/CamelLanguageServer.java#L78-L86 Please note that for now when using the released VS Code plugin NPEs are thrown, which seems to be due to the fact that exitServer is called before a startServer. I made it more robust to avoid NPE camel-tooling/camel-language-server#166 and it will be better in next release. |
Hi @apupier. |
Yes, i'm asking if it possible to cover the different plugin APIs that Camel Language Server is using.
The Camel Language server is independent from Kubernetes. I have some Kubernetes related stuff but it is not related to this request. |
ok :) |
oups sorry, I thought it was a top level issue for all VS code plugins. my bad.
here it is #11705 |
For |
For context menus we need eclipse-theia/theia#3646 |
I've updated the description with a couple of tasks related to Menu API |
Hint: if you had minikube installed on you computer ( desktop/laptop) and now is trying to switch to Docker desktop Kubernetes cluste) you can experience context switch glitch - minikube is the only choice. It is easily repairable: rename you minikube config.json to something like configOld.json and set KUBECONFIG system variable pointing to kubeconfig file create by Docker Desktop installation. |
Going to close this epic, will continue working on some separate issues like: |
The goal is to be able to run VSCode Kubernetes Tooling as a Theia plugin. To achieve it we should extend Theia Plugin API.
This is the list of initial k8s tooling commands we want to support:
TODO: List the needed API
Workspace API's:
Languages API's: eclipse-theia/theia#2341
Window :
Debug:
Menu API :
Contribution Points used in package.json :
Related PR's:
The text was updated successfully, but these errors were encountered: