Hide editors from the dashboard

Hide selected Che editors from the Dashboard UI, for example IntelliJ IDEA Ultimate, and have only Visual Studio Code - Open Source visible.

Prerequisites
Procedure
  1. Determine the IDs of the available editors. An editor ID has the following format: publisher/name/version.

    kubectl exec deploy/che-dashboard -n eclipse-che  \
        -- curl -s http://localhost:8080/dashboard/api/editors | jq -r '[.[] | "\(.metadata.attributes.publisher)/\(.metadata.name)/\(.metadata.attributes.version)"]'
  2. Edit the CheCluster Custom Resource on the cluster:

    kubectl edit checluster/eclipse-che -n eclipse-che
    spec:
      components:
        dashboard:
          deployment:
            containers:
            - env:
              - name: CHE_HIDE_EDITORS_BY_ID
                value: 'che-incubator/che-webstorm-server/latest, che-incubator/che-webstorm-server/next' (1)
    1 A string containing comma-separated IDs of editors to hide.
Verification
  • In the Che Dashboard, go to Create Workspace and verify that the concealed editors are no longer visible.