This is a created article in which the information may have evolved or changed.
The latest go1.9 and VSCode1.16.0 are installed on the new computer, and then the previous bin package is placed under the project without the smart tip Chengxiang the code.
Tried a variety of scenarios, environment variables, Gopath, FQ, using the old version, the system from WIN10 Home Edition upgrade to Professional Edition ...
Took a lot of detours, finally solved, the solution is as follows:
1. Download the third-party package from Golang China, download the link https://www.golangtc.com/download/package
2. Unzip and put into the project, path: project name/src/storage location
3. cmd Execute go install ****** (such as install Gocode execute: Go install github.com/nsf/gocode)
After installation, open Vscode, familiar with the code smart hints back ...