-
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
Describe process for making and testing Che 7 plugin from vscode plugin #12447
Comments
How to create and test a Che 7 plugin from an existing VS Code extensionComplete the following steps to run a Che 7 plugin based on VS Code extension
id: ms-vscode.node-debug2
version: 1.31.1
type: VS Code extension
name: Node Debug
title: Node.js debugging support
description: Node Debug is the debugger for Node.js versions >= 8.0 https://marketplace.visualstudio.com/items?itemName=ms-vscode.node-debug2
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
attributes:
extension: "vscode:extension/ms-vscode.node-debug2"
container-image: "abazko/ms-vscode.node-debug2"
Important notes:
"attributes": {
"editor": "org.eclipse.che.editor.theia:1.0.0",
"plugins": "che-machine-exec-plugin:0.0.1,https://raw.githubusercontent.com/eclipse/che-plugin-registry/master/plugins/org.eclipse.che.samples.container-fortune:0.0.1"
} Please, note that the URL to meta.yaml should be a direct URL to file contents, not the page that contains/serves it (raw GitHub link in the example above). |
/cc |
|
Here are answers, if we agreed on them I will add to the how-to.
Basically anywhere, it doesn't matter, for instance in the user's github repository.
I am not aware of naming convention. ${username}/${plugin-id} sounds reasonable for me.
I honestly do not know. @benoitf do you know the answer?
fixed
${github-url}/${plugin-id}/${version}/meta.yaml Like
fixed |
@svor @tolusha |
@tolusha |
@svor |
@tolusha yes, what you described is correct. Also, a long link like provided by @svor can be used when meta.yaml is not yet merged in the registry, but when it is merged user can use UI to add such extension to a workspace. And plugin entry would be way shorter in the workspace definition then. @tolusha Could you edit your description to reflect everything described and add also information in which fields docker image and extension ID should be placed in metafile? |
Write a small how-to on how to create and test a che 7 plugin from an existing vscode plugin. Add it to the Che wiki pages.
The text was updated successfully, but these errors were encountered: