Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21325

LSP: sourcegraph/go-langserver doesn't work

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      7a7dcc906416be7b746b32e55cef18c42cb25174 (qt-creator/qt-creator/4.8)

      Description

      Dependencies:

      export GOPATH=/home/user/go # the default location
      go get -u github.com/sourcegraph/go-langserver
      go get -u github.com/mdempsky/gocode

      Go version: 1.10

      Language client setings:

      Name: Go
      MIME: text/x-go
      Executable: /home/user/go/bin/go-langserver
      Arguments: -gocodecompletion

      Then edit any Go file whatsoever, completion doesn't work, error messages appear, originating in https://github.com/sourcegraph/go-langserver/blob/master/langserver/ast.go#L26

      I'm not entirely sure whom to blame here since it's weird that it wouldn't work at all like this.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              davschul David Schulz
              Reporter:
              iptriz iptriz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes