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
    • +
    • Undefined
    • 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
    • Workaround Exists
    • Hide

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

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

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: