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

Details

    • 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.)

    Description

      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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: