Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Interactive refactoring in gopls

Recent developments in gopls, an open-source Go language server, introduce interactive refactoring capabilities. This feature, designed in collaboration with the Dart team, brings dynamic, multi-step dialogs to popular editors like VS Code, Neovim, and Emacs. Previously, gopls relied on a parameterless model for code transformations, often resorting to one-size-fits-all defaults or refraining from offering refinements altogether.

Interactive refactoring overcomes this limitation by enabling language servers to request user input before applying edits. This advancement unlocks a suite of long-awaited refactorings for Go developers, such as adding and removing struct tags, implementing interfaces with dynamic symbol search, and moving declarations across files and packages.

The LSP's new mechanism for collecting user input before computing text edits decouples language-specific features from editors, fostering a more cohesive ecosystem where improvements to the language server benefit all clients.

Rewritten by urgent.news; may contain errors — check the original.

Source: go.dev

Read the original at go.dev →

Report a problem with this story

More in Tech

Publishing to Juejin Through Its Web API: The mark_content Lesson

Automating content publishing is a common task for developer-advocates and technical writers. Juejin (掘金) is a popular Chinese developer community, and like many modern web apps, it relies on an…

  • Juejin uses undocumented internal HTTP API for editor
  • markcontent required field causing draft issues
  • Python functions created for saving and publishing drafts

CVE-2026-84869: a ScreenConnect client bypass and the spread that followed it

CVE-2026-84869: the ScreenConnect client flaw and the worm-like spread that followed ConnectWise published an advisory for CVE-2026-84869 on 3 September 2026 and shipped the fix in ScreenConnect…

  • CVE-2026-84869 vulnerability affects ScreenConnect client software
  • Missing authorization check allows unauthorized file transfers during remote sessions
  • Organizations urged to upgrade to version 26.6.5 by 14 September 2026

The Late Charlie Munger on Elon Musk and Tesla

Re: my post today on the still-vaporware Tesla Roadster and Benedict Evans’s maxim that “Elon Musk is a bullshitter who delivers”, a reader sent me this YouTube short of Charlie Munger’s answer to a…

How to Hack Like a Pro at Hacktoberfest 2026 (Even If You’re New)

Hacktoberfest looks different this year. Pull requests no longer count toward rewards. The focus is on building real projects with open-source and open-weight AI.

  • Hacktoberfest 2026 focuses on open-source AI projects
  • Hack Days require building useful AI projects in public repos
  • For Gemma track, code must call Gemini API through Gemma 4

More from Saturday, 17 October 2026 →