gopls-lsp Plugin
Plugin Claude Code Development Code Search & Code IntelligenceThe explanation below is AI-generated. Please verify it against the sources.
gopls-lsp is a Claude Code plugin that provides a Go language server, enabling code intelligence, refactoring, and analysis for Go code. According to the README, it supports files with the .go extension. It requires installing gopls via the Go toolchain (go install golang.org/x/tools/gopls@latest) and ensuring $GOPATH/bin (or $HOME/go/bin) is in the PATH. The README links to the official gopls documentation and its GitHub repository for further information.
Overview
gopls-lsp is a plugin that integrates gopls, the Go language server, into Claude Code to provide code intelligence, refactoring, and analysis features for Go source files.
What you can do with gopls-lsp
- Get code intelligence for .go files via the gopls language server
- Perform refactoring on Go code
- Run analysis on Go code
- Install gopls using go install golang.org/x/tools/gopls@latest
- Reference the official gopls documentation and GitHub repository for more details
Sources
Original description (English)
Go language server for code intelligence and refactoring
History of gopls-lsp
- Plugin Added gopls-lsp