Che: Docker LS not working in Quarkus stack

Created on 9 Jun 2020  路  7Comments  路  Source: eclipse/che

Describe the bug

In a Quarkus example stack, the Docker language support is not present.

Che version

  • [x] latest 7.14.1
  • [ ] nightly
  • [ ] other: please specify

Steps to reproduce

  1. Go to Get Started page
  2. Click on Quarkus Tools stack
  3. Wait for the workspace to start
  4. Open a file: quarkus-quickstarts - getting-started- src - main - docker - Dockerfile.jvm
  5. The plain text is displayed, even without coloring.

Expected behavior

There should be at least some basic LS support for Dockerfile.

Runtime

  • [ ] kubernetes (include output of kubectl version)
  • [x] Openshift (include output of oc version) 4.5
  • [ ] minikube (include output of minikube version and kubectl version)
  • [ ] minishift (include output of minishift version and oc version)
  • [ ] docker-desktop + K8S (include output of docker version and kubectl version)
  • [ ] other: (please specify)

Screenshots

Screenshot from 2020-06-09 17-05-59

Installation method

  • [x] chectl

    • provide a full command that was used to deploy Eclipse Che (including the output)

    • provide an output of chectl version command

  • [ ] OperatorHub
  • [ ] I don't know

Environment

  • [ ] my computer

    • [ ] Windows

    • [ ] Linux

    • [ ] macOS

  • [ ] Cloud

    • [x] Amazon

    • [ ] Azure

    • [ ] GCE

    • [ ] other (please specify)

  • [ ] other: please specify
areplugin-registry kinbug severitP1

Most helpful comment

The fix is already in vscode master branch. There is a corresponding issue describing the problem https://github.com/microsoft/vscode/issues/102897

Will be working soon after

All 7 comments

Confirmed, syntax highlight still not present on Che 7.15.1

Confirmed, syntax highlight still not present on Che 7.15.1

Confirmed on che.openshift.io as well. It seems the "Language Mode" is set to Plain Text, when it really should be Dockerfile. When I change the language to Dockerfile it works fine.

I'm guessing it has something to do with the extension (i.e. .jvm or .native). If I create a file just named "Dockerfile" in the same folder the language is detected correctly.

The fix is already in vscode master branch. There is a corresponding issue describing the problem https://github.com/microsoft/vscode/issues/102897

Will be working soon after

Reopened just to not be forgotten

Adjusted the milestone to reflect that the issue will be fixed at a later time.

Was this page helpful?
0 / 5 - 0 ratings