What is interactive refactoring in gopls?
It lets a language server ask the editor user for one or more choices before computing or executing a code transformation. Gopls examples include selecting struct-tag formats, choosing an interface to implement and selecting a destination file.
Answered in
Go’s Interactive Refactorings Fix a Quiet Gap in the Language Server ProtocolGopls can now ask developers for choices before a refactoring. The proposed LSP capability could make richer edits work across editors.
Read the full analysisOther questions this article answers
More development best practices questions
- What did OpenAI’s Habitat team change?
- Does the reported 12× read improvement mean another team should copy the design?
- Does the Python Typing Survey measure all Python developers?
- Do Python type hints enforce types at runtime?
- Is interactive refactoring already part of the official LSP standard?
- What does Meta mean by human-on-the-loop software engineering?
- Does Meta's Forum project prove that AI can replace a software team?
- What are Apple multiseat subscriptions?
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Development Best Practices beat.