# gopls

Published articles for gopls.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Interactive refactoring in gopls

DevFeed: [Interactive refactoring in gopls](<https://devfeed.tech/articles/interactive-refactoring-in-gopls-88793.md>)

Original publisher: [Read original article](<https://go.dev/blog/interactive-refactoring>)

Author: Hongxiang Jiang

Published: 2026-10-16T00:00:00Z

Content type: article

Language: en

Sources: [Go](<https://devfeed.tech/sources/the-go-blog.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [editor](<https://devfeed.tech/tags/editor.md>), [gopls](<https://devfeed.tech/tags/gopls.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [lsp](<https://devfeed.tech/tags/lsp.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>)

### AI overview

The article introduces interactive refactoring in gopls, using a proposed Language Server Protocol capability to let editors collect input through multi-step dialogs before applying code changes. It describes struct-tag editing and interface implementation, and previews moving declarations between files and packages. Support is available in gopls v0.24.0 and the VS Code Go extension v0.56.0.

### Source excerpt

Introducing interactive refactoring in gopls and the LSP: a new capability that brings dynamic, multi-step refactorings into your favorite editor.

## Modules Part 02: Projects, Dependencies and Gopls

DevFeed: [Modules Part 02: Projects, Dependencies and Gopls](<https://devfeed.tech/articles/modules-part-02-projects-dependencies-and-gopls-22154.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2019/12/modules-02-projects-dependencies-gopls.html>)

Published: 2019-12-02T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [modules](<https://devfeed.tech/topics/modules.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [auto-complete](<https://devfeed.tech/tags/auto-complete.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cache](<https://devfeed.tech/tags/cache.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [editor](<https://devfeed.tech/tags/editor.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [gopls](<https://devfeed.tech/tags/gopls.md>), [lsp](<https://devfeed.tech/tags/lsp.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [modules](<https://devfeed.tech/tags/modules.md>), [open-standard](<https://devfeed.tech/tags/open-standard.md>), [programming](<https://devfeed.tech/tags/programming.md>), [projects](<https://devfeed.tech/tags/projects.md>), [source-code](<https://devfeed.tech/tags/source-code.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

### AI overview

With Go modules in VS Code, editor actions such as saving are handled through gopls: it runs Go commands and APIs to provide language features and feedback via LSP. Because command latency and LSP behavior can leave the editor temporarily out of sync, the excerpt notes the Go team was working toward a smoother gopls v1.0 experience. It introduces adding and removing project dependencies and explains that Go keeps downloaded modules in a local cache to speed builds and dependency updates. The cache location and layout are only partially present in the supplied excerpt.

### Source excerpt

Series Index Why and What Projects, Dependencies and Gopls Minimal Version Selection Mirrors, Checksums and Athens Gopls Improvements Vendoring Introduction Modules is the system integrated into Go to provide support for dependency management. This means modules touch just about anything related to working with source code, including editor support. To provide editors with support for modules (and for other reasons), the Go team built a service named gopls which implements the language server protocol (LSP). LSP was originally developed by Microsoft for VS Code and has become an open standard. The idea of the protocol is to provide editors with support for language features such as auto complete, go to definition, and find all references.