Home > Article > Development Tools > VSCode Go language cannot automatically complete
VSCode Go language cannot be automatically completed
VSCode Go language cannot be automatically completed. The reason may be that there is a problem with the gocode plug-in or there is something wrong updated.
Solution
First run the command "gocode close"; then delete gocode.exe in the "GOPATH/bin" folder; finally reinstall the gocode plug-in and that's it. .
VSCode Go main development plug-in
• Colorization code is colored
• Completion Lists code is automatically completed (using gocode)
• Snippets code snippets
• Quick Info quick tip information (using godef)
• Goto Definition Jump to definition (using godef)
• Find References Search for reference references ( Using go-find-references)
• File outline File outline (using go-outline)
• Workspace symbol search Workspace symbol search (using go-symbols)
• Rename rename (use gorename)
• Build-on-save save the build (use go build and go test)
• Format code formatting (use goreturns or goimports or gofmt)
• Add Imports Add references (using gopkgs)
• Debugging debugging code (using delve)
Recommended tutorial: "Go Tutorial"
The above is the detailed content of VSCode Go language cannot automatically complete. For more information, please follow other related articles on the PHP Chinese website!