x/tools/gopls: in Centos 7.7 go outline can not be displayed and "go to definition" can not work #35637
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
If you are using modules, have you opened VS Code to the root of the module (the directory that contains the If that does not help, can you share the output of |
Very Thanks; I opened the directory that contain the go.mod, like this: I run this command at /data/tidb/deps/go/src/github.com/pingcap/tidb/
Below is the result: |
Hi, I have recompiled my project, then it works; Thank you very much; |
Ok, glad you got it working! |
What version of Go are you using (
go version
)?VS Code version:
Version: 1.40.1
Commit: 8795a9889db74563ddd43eb0a897a2384129a619
Date: 2019-11-13T16:49:30.162Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 3.10.0-1062.4.3.el7.x86_64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
gopls.zip

What did you expect to see?
outline can be displayed
What did you see instead?
outline is empty
The text was updated successfully, but these errors were encountered: