August 2024 (version 1.93)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. August 2024 (version 1.93) Update 1.93.1 : The update addresses these issues . Downloads for 1.93.1 Windows x64 Arm64 macOS Universal Intel Apple silicon Linux .deb .rpm .tar.gz Arm instructions Snap Welcome to the August 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: Profiles editor - Switch and manage your profiles from a single place.
Django unit test support - Discover and run Django unit tests from the Test Explorer. IntelliSense on vscode.dev - Boost your JS & TS coding in vscode.dev with IntelliSense. Notebook diff viewer - Efficiently review changes in notebooks by collapsing unchanged cells. Resize columns via the keyboard - Resizing table columns in VS Code more accessible via keyboard. Source Control Graph - Easily hide, collapse, or move the Source Control Graph.
GitHub Copilot - Add context in Quick Chat, improved test generation and chat history. Experiment: Custom Copilot instructions - Define specific code-generation instructions for Copilot. 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 Resize table columns via the keyboard A new command, list.resizeColumn , enables you to resize columns by using the keyboard. When you trigger this command, select the column you want to resize and provide a percentage of the width you want to set. The following video shows how to apply this to resize a column in the Keyboard Shortcuts editor. Screen reader support for synthesizing chat responses We've updated the accessibility.voice.autoSynthesize setting to enable screen reader users to opt in to hearing chat responses announced by our synthesizer, instead of getting aria alerts.
Debugging improvements When you're debugging with the focus in an editor, invoking the Debug: Add to Watch command now announces the variable's value for screen reader users. Additionally, the Debug accessibility help dialog was improved for better thoroughness. Workbench New Profiles editor The new Profiles editor is now generally available for all in Visual Studio Code. The new Profiles editor enables you to manage profiles from a single place.
This experience includes creating new profiles, editing and deleting existing profiles, and importing and exporting profiles to share with others. For more information, see the Profiles documentation . Linux support for window control overlays A new setting window.experimentalControlOverlay enables native window controls to appear, even when a custom title bar is enabled via the window.titleBarStyle setting. Out of the box, we have not yet enabled the custom title by default on Linux, but we plan to do so eventually.
Once you turn on a custom title, native window control overlays will appear automatically. We welcome any feedback you find when using this new feature! Comments sorting Comments can now be sorted by their position in the file or by date. Copy settings URL from Settings editor You can copy a direct URL to a specific setting from the Settings editor. When you navigate to the settings URL, it opens VS Code and focuses the corresponding setting in the Settings editor.
Reverse sort in Explorer We added an additional sort option, explorer.sortOrderReverse , which enables you to reverse any of the various Explorer sort configurations, providing further sorting flexibility. Editor Lightbulb improvements In the previous milestone, we improved the location where the Code Actions lightbulb icon is shown. We've now decided to set editor.lightbulb.enabled to onCode by default. This means that the lightbulb icon is only shown when the cursor is on lines with source code and will show up less frequently.
Color theming for action lists The color of the action list control, such as the Code Action menu, can be configured by themes with the editorActionList.background , editorActionList.foreground , editorActionList.focusForeground , and editorActionList.focusBackground keys. By default, the action list control theme matches that of the Quick Pick and Command Palette. Get more info about customizing a color theme . GitHub Copilot This milestone, we continued to improve the GitHub Copilot experience in VS Code, across the editor, the Chat view, and inline Chat.
We've also added several experimental features for you to try and for which we'd like to get your feedback. Improved test generation With GitHub Copilot, you can generate tests for your code, either by using the Generate Tests using Copilot action in the editor content menu, or by using the /tests slash command in inline Chat. We improved the test generation flow by looking for an existing test file and generating the new tests into that file, appending them at the end.
If there isn't a test file yet, Copilot creates a new test file for the generated tests. Renamed Code Actions for generating tests and documentation When you place the cursor on an identifier, such as a method name, GitHub Copilot gives you Code Actions to generate tests or documentation. To better reflect their purpose, we renamed these Code Actions to Generate Tests using Copilot and Generate Documentation using Copilot .
Previously, these were called Test using Copilot and Document using Copilot . Improved chat history You can open previous chat sessions from the chat history with the Show Chats button at the top of the Chat view. These sessions now have a more user-friendly, AI-generated name. You can also rename sessions manually by selecting the pencil icon on each row. These chat history entries are now also sorted by the date of their last request, and are labeled and grouped by date buckets.
Note: Only new chat sessions get the AI-generated name, any chat sessions that you already had won't be renamed. Save chat sessions for empty windows Previously, VS Code wasn't saving chat sessions for empty windows (that don't have a folder or workspace open). Now, these sessions are saved as expected, and previous chats from an empty window can be loaded via the Show Chats button. Note : You should avoid opening and using the same chat session in multiple empty windows simultaneously.
Attach context in Quick Chat When using Quick Chat, you can now use the Attach Context action to attach context like files and symbol to your Copilot request. Thumbs down feedback details Did you get a response from Copilot Chat that wasn't what you expected? Help us out by selecting the Thumbs down button on the toolbar for a chat response. Now, it shows a dropdown with a few detailed options for you to describe the issue.
You can also open the issue reporter from this menu. Code generation instructions (Experimental) Setting : github.copilot.chat.experimental.codeGeneration.instructions Copilot can help you generate code, for example as part of a refactoring, generating unit tests, or implementing a feature. And you might have specific libraries you want to use, or a particular coding style you want to follow for the code that Copilot generates.
The experimental setting github.copilot.chat.experimental.codeGeneration.instructions lets you define a set of instructions that are added to every Copilot request that generates code. The instructions can be defined in the User or Workspace settings but can also be imported from a file. The following code snippet shows how to define a set of instructions from both settings and an external file: "github.copilot.chat.experimental.codeGeneration.instructions" : [ { "text" : "Always add a comment: 'Generated by Copilot'." }, { "text" : "In TypeScript always use underscore for private field names." }, { "file" : "code-style.md" // import instructions from file `code-style.md` } ],
The rest of this page is on the live site.