Hide
= Specifying the devfile component that hosts an IDE
By default, {prod-short} hosts the IDE (Microsoft Visual Studio - Open Source Code or JetBrains IntelliJ IDEA Community Edition) in the first container specified in a devfile. With this update, you can specify the component that will host the IDE using the attribute `controller.devfile.io/merge-contribution: true`.
In the following example, the IDE will be hosted in "component2":
[source,yaml]
----
schemaVersion: 2.2.0
components:
- name: component1
container:
image: quay.io/sclorg/postgresql-15-c9s:c9s
- name: component2
attributes:
controller.devfile.io/merge-contribution: true
container:
image: quay.io/devfile/developer-base-image:latest
----
Show
= Specifying the devfile component that hosts an IDE
By default, {prod-short} hosts the IDE (Microsoft Visual Studio - Open Source Code or JetBrains IntelliJ IDEA Community Edition) in the first container specified in a devfile. With this update, you can specify the component that will host the IDE using the attribute `controller.devfile.io/merge-contribution: true`.
In the following example, the IDE will be hosted in "component2":
[source,yaml]
----
schemaVersion: 2.2.0
components:
- name: component1
container:
image: quay.io/sclorg/postgresql-15-c9s:c9s
- name: component2
attributes:
controller.devfile.io/merge-contribution: true
container:
image: quay.io/devfile/developer-base-image:latest
----