← Saturday, October 17, 2026Languages & toolsRelease

gopls adds interactive, multi-step refactoring through a proposed LSP capability

go.dev 6 min read Editor score 7/10

Interactive refactoring in gopls uses a proposed LSP capability for dynamic, multi-step dialogs, with support in gopls v0.24.0 and the Go VS Code extension v0.56.0. The effort could make richer refactoring workflows portable across language servers and editors.

What
- gopls is adding interactive, multi-step refactoring through a proposed Language Server Protocol capability.
How
- The language server can collect user input before computing text edits, rather than guessing parameters or skipping a transformation.
Why it matters
- A standard mechanism lets refactoring improvements work across editors without each editor needing custom, language-specific dialog code.
refactoring r… dialog asks for input input response text edits editor gopls user
The editor and gopls exchange prompts, user input, and edits for an interactive refactoring. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.