Prerequisites
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
-
An existing workspace defined on this instance of Eclipse Che Creating a workspace from user dashboard.
Procedure
To add the VS Code extension using the workspace configuration:
-
Click the Workspaces tab on the Dashboard and select the workspace in which you want to add the plug-in. The Workspace <workspace-name> window is opened showing the details of the workspace.
-
Click the devfile tab.
-
Locate the components section, and add a new entry with the following structure:
- type: chePlugin id: (1)1 Link to the meta.yamlfile in your registry, for example,https://my-plugin-registry/v3/plugins/<publisher>/<plug-inName>/<plug-inVersion>/meta.yamlChe automatically adds the other fields to the new component.
-
Restart the workspace for the changes to take effect.