May 2024 (version 1.90)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. May 2024 (version 1.90) Update 1.90.2 : The update addresses these issues . Update 1.90.1 : The update addresses these issues . Downloads for 1.90.2 Windows x64 Arm64 macOS Universal Intel Apple silicon Linux .deb .rpm .tar.gz Arm instructions Snap Welcome to the May 2024 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Editor tabs multi-select - Select and perform actions on multiple tabs simultaneously.
Profiles - Open new windows with your preferred profile. Editor actions - Immediately access editor actions across editor groups. Copilot extensibility - Build AI into your extensions with the Chat and Language Model API. VS Code Speech - Automatically read out Copilot Chat responses with text-to-speech. Find in notebooks - Restrict search to selected cells in notebooks. Chat context - Quickly attach different types of context in chat.
IntelliSense in chat responses - Better understand generated code with IntelliSense. If you'd like to read these release notes online, go to Updates on code.visualstudio.com . Insiders: Want to try new features as soon as possible? You can download the nightly Insiders build and try the latest updates as soon as they are available. Accessibility Set keybindings from the accessibility help dialog Accessibility help dialogs give you an overview of important commands for a feature or view.
When a command lacks a keybinding assignment, you can now configure it from within the accessibility help dialog with ⌥K (Windows, Linux Alt+K ) . Experimental: signal delay settings When the setting Debounce position changes is enabled, you can use the setting Signal options delays to customize the debouncing time for various accessibility signals. Workbench Editor tabs multi select You can now select multiple tabs simultaneously, enabling you to apply actions to multiple editors at once.
This new feature enables you to move, pin, or close several tabs with a single action. To add another tab to your selection, use Ctrl + Click ( Cmd + Click on macOS). To select a range of tabs, use Shift + Click . Always show editor actions We are introducing the Always Show Editor Actions setting. When you enable this setting, the editor title actions of each editor group are always shown, regardless of whether the editor is active or not.
When the setting is not enabled (default value), the editor actions are only shown when the editor is active: If you enable the setting, the editor actions are always available, even when the editor is not active: Set disable-lcd-text as a runtime argument With disable-lcd-text , you can disable RGB subpixel rendering on Windows. The disable-lcd-text setting is now supported as a runtime argument in the argv.json file.
Previously, it was only available as an undocumented CLI flag. Use the Preferences: Configure Runtime Arguments command to configure the runtime arguments. In the following image you can see a side-by-side comparison, where on the left side disable-lcd-text is true , and on the right side it is false . Theme: Light Pink (preview on vscode.dev ) Configure custom profile for new window Previously, when you opened a new VS Code window, it used the profile of the active window or the default profile, if there was no active window.
You can now specify which profile should be used when opening a new window by configuring the window.newWindowProfile setting. Source Control Focus input/resource group commands This milestone, we have added several workbench commands, so that you can create keyboard shortcuts for them: Focus on the next or previous source control input field: workbench.scm.action.focusNextInput , workbench.scm.action.focusPreviousInput Focus on the next or previous resource group within a repository: workbench.scm.action.focusNextResourceGroup , workbench.scm.action.focusPreviousResourceGroup Notebooks Find in cell selection When you're in a notebook, you can now use the Find control to search within specific ranges of selected cells.
After you set notebook.experimental.find.scope.enabled to true , the Find in Cell Selection toggle will be available in the Find control. You can then select a range of cells and either open the Find control or, if it's already open, select the "Find in Cell Selection" button. Notebook Format Code Actions Notebooks now support a new kind of Code Action, which is defined with the notebook.format Code Action Kind prefix.
These Code Actions can be triggered automatically via an explicit formatting request (using the command Notebook: Format Notebook ) or a formatting on save request. These can be used to provide more powerful formatting, through the use of Workspace Edits and Notebook Edits. To get started, check out an example extension in the vscode-extension-samples repository. Terminal ⚠️ Removal of the canvas renderer The canvas renderer was deprecated in the VS Code 1.89 release and is now removed completely.
This means that on the small number of machines that do not support WebGL2, the terminal now uses the DOM-based renderer. You can read more about GPU acceleration in the terminal documentation . Rescaling overlapping glyph in the terminal The setting terminal.integrated.rescaleOverlappingGlyphs , introduced as a preview feature in the VS Code 1.88 release, is now enabled by default. This feature rescales glyphs that overlap following cells that are intended to cover ambiguous-width characters, and which might have font glyphs that don't match what the backing pty/unicode version thinks it is.
For example, in most fonts the roman numeral unicode characters ( U+2160+ ) typically takes up multiple cells, so they are rescaled horizontally when this setting is enabled. Without rescaling: With rescaling: Contributions to extensions GitHub Copilot Attach context to chat To make your chat prompts more specific, you can add context to your chat messages. You can now attach more types of context to a chat message, such as workspace symbols.
Previously, you used the '#' symbol to reference a file, or the current selection. Now, you can attach context to a chat message by selecting the 📎 icon in the Chat view input field, or by typing ⌘/ (Windows, Linux Ctrl+/ ) . Tip : Use the right arrow key to quickly attach context in the background while you keep the context picker open. When you're in the editor, you can also right-click on a selection and choose Copilot > Add Selection to Chat .
Ask questions using Bing search and enterprise knowledge bases GitHub Copilot Enterprise users in VS Code can now ask questions that are enriched with context from web results and your enterprise's knowledge bases . To try out this functionality, install the latest pre-release of Copilot Chat. In the Chat view, you can ask questions like @github What is the latest LTS of Node.js? #web to take advantage of web search. Any search results referenced by Copilot are displayed in the Used References section of the chat response.
You can also ask questions about your enterprise's knowledge bases, which are collections of Markdown repositories containing documentation, directly from VS Code. Simply type @github #kb to pick from the knowledge bases available to you. Similarly, any knowledge base snippets referenced by Copilot are displayed in the Used References section of the chat response. This enables Copilot Enterprise users to combine search results and internal documentation with editor context by using existing chat variables, such as #file and #selection .
Please try it out and share your feedback with us at https://github.com/microsoft/vscode/issues ! IntelliSense in chat code blocks We now support basic IntelliSense within Copilot-generated code blocks. This lets you use many of the same IntelliSense tools that you might already use in the editor and can help you better unders
The rest of this page is on the live site.