Visible Studio Code 1.87, the February 2024 launch of Microsoft’s in style code editor, brings voice dictation, multi-cursor inline options, and assist for smarter Python imports and GitHub Copilot-powered image renaming.
Printed February 28, Visible Studio Code 1.87 will be downloaded on the Visible Studio web site for Home windows, Linux, and Mac platforms.
With the brand new launch, builders now can use their voices to dictate straight into the editor, offered they’ve put in the VS Code Speech extension, which permits speech-to-text capabilities. Builders can choose from one of many 26 supported languages in VS Code Speech by utilizing the accessibility.voice.speechLanguage
setting.
Microsoft is also steadily rolling out rename options powered by the GitHub Copilot AI-powered programming assistant. When builders rename a logo within the editor, GitHub Copilot suggests an inventory of potential new names for that image, based mostly on the consumer’s code. The earlier model of VS Code added assist for GitHub Copilot Chat.
VS Code 1.87 additionally brings assist for multi-cursor inline completions, that are previewed and utilized at each the first and secondary cursor positions. An replace to the Pylance extension now contains an Add Imports code motion for including lacking imports. Pylance makes use of heuristics to indicate solely the highest three high-confidence import choices, prioritized based mostly on standards resembling essentially the most just lately used imports and symbols from the identical module.
And the brand new launch introduces two new code actions: ‘Seek for extra import matches,’ which shows a menu to seek for import choices that prefix-match the lacking import image, and ‘Change spelling,’ which affords import options for lacking imports because of typos.
Lastly, a Refactor preview functionality permits builders to evaluate adjustments that might be utilized by a code refactoring. And Sticky Scroll within the editor now’s enabled by default.
Visible Studio Code 1.87 follows VS Code 1.86, which arrived February 1 and featured a “Hey Code” voice command that begins periods in GitHub Copilot Chat.
Copyright © 2024 IDG Communications, Inc.