Urgent.News

What's breaking now, across thousands 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.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at go.dev →

More in Tech

The Feature Gate — Or, You Own the Device but Rent the Features

Yesterday I ended on the identity layer (#61): the keys you can't recover without are the keys you don't own. Today the board pointed one notch lower — at the things you thought you'd already bought.

  • Feature Gate concept: users pay for hardware, rent specific features
  • Third-party vendor controls device features remotely
  • Model creates recurring subscription relationship with vendor

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

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 →