Paul Krill
Editor at Large

Visual Studio Code adds ‘Hey Code’ voice command

news
Feb 2, 20243 mins

New voice command in VS Code starts a voice session with Copilot Chat. Per-window zoom levels also arrive with January 2024 release.

Hands at a computer showing a text-bubble dialog construct.
Credit: cnythzl / Getty Images

Visual Studio Code 1.86, the January 2024 release of Microsoft’s code editor, introduces a voice command, “Hey Code,” that starts a session with Copilot Chat. The new release also brings per-window zoom levels.

Unveiled February 1, Visual Studio Code 1.86 can be downloaded for Windows, Linux, or Mac at the visualstudio.com website

A new accessibility.voice.keywordActivation setting enables Visual Studio Code to listen for the “Hey Code” voice command to start a voice session with Copilot Chat, offering a chat interface. Microsoft noted that the voice recognition is computed locally on the user’s machine and not sent to any servers. Extensions are required including GitHub Copilot Chat, which provides AI programming assistance through a conversational interface, and VS Code Speech, which adds speech-to-text capabilities.

With per-window zoom levels, enabled via window.zoom.PerWindow, lets developers configure zoom commands to apply only to the active window and not all open windows. Microsoft believes using zoom commands will be mostly ad hoc, such as when giving a presentation, so should apply only to the window they’re invoked from.

Elsewhere in VS Code 1.86, triggered breakpoints can be set that are automatically enabled once another breakpoint is hit. For example, this can be used when diagnosing failure cases in code that happen after a certain precondition. Triggered breakpoints work for all languages.

VS Code 1.86 follows VS Code 1.85, which arrived in December and featured floating windows. Two subsequent updates to VS Code 1.85, versions 1.85.1 and 1.85.2, were released with fixes, including updating Electron 25 builds.

Other new features in Visual Studio Code 1.86:

  • The multi-file diff editor now is enabled for all users. It lets users view changes across multiple files in one scrollable view.
  • Sticky Scroll has been extended to all tree views, enabling easier navigation of project trees. It is limited to 40% of view height.
  • Users can paste a URL to automatically create a Markdown link. And when users paste a URL into a Markdown file with text selected, VS Code now automatically inserts a Markdown link.
  • A new setting, scm.input.MinLineCount, can be used to control the initial height of the commit input field.
  • More fine-grained notification is offered for disabling notifications coming from extensions.
  • All Auto Save settings now can be configured per folder or language, which lets users selectively enable Auto Save only for specific languages or folders. A new files.autoSaveWhenNoErrors setting lets Auto Save be disabled if there are error markers in the file when Auto Save normally would save the editor.
  • Support for the beta version of the TypeScript 5.4 language is being previewed.
  • The Python Debugger extension now is installed by default alongside the Python extension.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author