question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Go devfile LS Not working without updating Go language server plugin to the experimental version.

See original GitHub issue

Describe the bug

Go devfile is showing notification about updating the version of Go vsix plugin and a warning regarding development tools missing in the path installation.

Che version

7.9.0-SNAPSHOT

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  • Open a Go getting started devfile
  • Open any .go script
  • Next to the notifications in the bottom bar on a right side you will see a notification about missing development tools and outdated plugin

Expected behavior

No errors/warnings are present

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version) 4.3, 4.2
  • 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_20200255_161009_closeup

image

Installation method

  • chectl -a operator -p openshift --ssl --self-signed-cert
  • che-operator
  • minishift-addon
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify) ocp42.codereadyqe.com
  • other: please specify

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
ScrewTSWcommented, Mar 11, 2020

The notification appears with every workspace startup until the plugin is updated.

1reaction
JPinkneycommented, Feb 26, 2020

I just tried on che.openshift.io and it looks like the problem is that it’s missing golangci-lint. I’m guessing this issue was introduced when the preference was changed in the devfile? https://github.com/eclipse/che-devfile-registry/blob/master/devfiles/go/devfile.yaml#L19.

If I start a workspace and remove that preference the Analysis Tools Missing error doesn’t pop up.

Edit: It looks like golangci-lint and gopls are both installed in the dockerfile: https://github.com/che-dockerfiles/che-sidecar-go/blob/1.12.9/Dockerfile#L72

Read more comments on GitHub >

github_iconTop Results From Across the Web

, the Go language server
If you do not see a prompt, please run the Go: Install/Update Tools command and select gopls . Automatic updates. The gopls team...
Read more >
Gopls - Go Packages
gopls (pronounced "Go please") is the official Go language server developed by the Go team. It provides IDE features to any LSP-compatible editor....
Read more >
Chapter 3. Developer workspaces - Red Hat Customer Portal
3.4.2.1. Editing the commands after importing a project · Open the workspace configuration in the Dashboard, then select the Devfile tab. · Modify...
Read more >
odo CLI reference - Developer CLI (odo) | CLI tools | OpenShift ...
NAME DESCRIPTION REGISTRY go Stack with the latest Go version ... code but want to get up and running quickly to experiment with...
Read more >
4.10.0-fc.0 - Release Status
move go.mod to 1.17 #146; Updating ose-aws-pod-identity-webhook images to ... fix: skip instance not found when decoupling vmss from lb #842 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found