Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1521

Some language server tools are not preinstalled in the UDI image for use with golang workspaces

XMLWordPrintable

    • False
    • False
    • Release Notes
    • +
    • Hide
      = Basic golang tools are available in the Universal Developer Image

      Currently, the Universal Developer Image contains only basic golang tools like go and gopls, which supports code completion, compilation and navigation.

      To include other tools, a user can extend or fork the UDI image and add additional tools, then use that image with their custom devfile; or they can simply install the tools they need into the running workspace if their administrator has configured the proxy to allow that.
      Show
      = Basic golang tools are available in the Universal Developer Image Currently, the Universal Developer Image contains only basic golang tools like go and gopls, which supports code completion, compilation and navigation. To include other tools, a user can extend or fork the UDI image and add additional tools, then use that image with their custom devfile; or they can simply install the tools they need into the running workspace if their administrator has configured the proxy to allow that.
    • Known Issue
    • Rejected
    • Workaround Exists
    • Hide

      Install missing code from the prompt. (See screenshot.)

      Show
      Install missing code from the prompt. (See screenshot.)

      Environment

      • OCP 4.6 cluster
      • Codeready deployed by operatorhub
      • list of the used images in the attachments (used-images.md)

      Steps to reproduce

      • Go to dashboard and create workspace using the "Go" default devfile
      • Go inside created workspace and open the "main.go" file
      • Try to use autocomplete feature (Ctrl + space)
      • Pay attention to the appeared notification, without installing additional tools autocomplete will not work.

      Expected behavior
      Autocomplete work

      Observed behavior
      Autocomplete is not working without additional tools instalation

        1. ds340-go -autocmplition.png
          200 kB
          Shmaraiev Oleksandr
        2. ds340-go-autocompletion.png
          200 kB
          Shmaraiev Oleksandr
        3. image-2021-02-19-15-42-38-660.png
          132 kB
          dipiki joahi
        4. Screenshot_20211011_131850.png
          36 kB
          Tibor Dancs
        5. Screenshot_20211011_142819.png
          10 kB
          Tibor Dancs
        6. Screenshot from 2021-01-26 16-11-42.png
          11 kB
          Ihor Okhrimenko
        7. used-images.md
          7 kB
          Ihor Okhrimenko

              nickboldt Nick Boldt
              iokhrime Ihor Okhrimenko (Inactive)
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: