Eclipse Che: Unable to add plug-in automatically in workspace using Devfile #22783
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/question
Questions that haven't been identified as being feature requests or bugs.
team/B
This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Summary
I created a simple devfile and tried to add "redhat.java", plug-in in the dev workspace automatically while creating the workspace, but it is not added automatically. Any clue where I am doing wrong. I have installed eclipse che on vanilla k8s
I have followed the below link:
https://medium.com/eclipse-che-blog/devfile-v2-and-ide-plug-ins-in-eclipse-che-7a560ae724b1
and here is my simple devfile:
---*****----------------
schemaVersion: 2.2.0
metadata:
name: helloworld-example
attributes:
.vscode/extensions.json: |
{
"recommendations": [
"redhat.java"
]
}
components:
container:
image: quay.io/devfile/universal-developer-image:ubi8-latest
endpoints:
- name: http-3000
targetPort: 3000
commands:
exec:
commandLine: npm install
component: dev-tooling
workingDir: ${PROJECT_SOURCE}
group:
isDefault: true
kind: build
exec:
commandLine: node app.js
component: dev-tooling
workingDir: ${PROJECT_SOURCE}
group:
isDefault: true
kind: run
Relevant information
No response
The text was updated successfully, but these errors were encountered: