November 2021 (version 1.63)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. November 2021 (version 1.63) Update 1.63.1 : The update addresses these security issues . Update 1.63.2 : The update addresses these issues . Downloads for 1.63.2 Windows x64 Arm64 macOS Universal Intel Apple silicon Linux .deb .rpm .tar.gz Arm instructions Snap Welcome to the November 2021 release of Visual Studio Code.
There are many updates in this version that we hope you will like, some of the key highlights include: Marketplace theme preview - Try out Color Themes without installing them. Configure Problems navigation order - Go to next error or warning by severity or file position. Show commands in screencast mode - Display command names along with keyboard shortcuts. Notebook improvements - Adjust Markdown font size, better file and URL linking support.
Invisible Unicode highlighting - Highlights invisible or confusable Unicode characters. TypeScript method completions - Quickly fill in interface and override methods. Pre-release extensions - Try out extension new features and fixes early. New Java welcome experience - To help you configure and learn about Java in VS Code. More extensions for vscode.dev - Check out recent additions for VS Code for the Web. Work in a container on an SSH server - New Remote - SSH Reopen in Container command.
If you'd like to read these release notes online, go to Updates on code.visualstudio.com . Watch a highlight of the new features in this version at the VS Code team's release party. You can find the recording of the event on our YouTube channel. 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. Workbench Preview themes before installing You can now preview themes available on the Marketplace before installing them.
From the Color Themes dropdown ( ⌘K ⌘T (Windows, Linux Ctrl+K Ctrl+T ) ), select Browse Additional Color Themes to list the Marketplace themes. The VS Code UI will preview the Color Theme as you navigate the dropdown. Press Enter on a theme entry to install the extension. Configure Problems navigation order You can now define the order for Go to Next Problem ( ⌥F8 (Windows, Linux Alt+F8 ) ) and Go to Previous Problem ( ⇧⌥F8 (Windows, Linux Shift+Alt+F8 ) ) navigation.
In previous versions, the order of navigation was based on severity, going to errors first, then warnings, then the rest. The new Problems: Sort Order ( problems.sortOrder ) setting lets you navigate problems by either their severity or position . When using "problems.sortOrder": "position" , a warning on line 5 will be shown before an error on line 13, etc. Multiple language specific editor settings You can now configure language specific editor settings for multiple languages at once.
The following example shows how you can customize settings for javascript and typescript languages together in your settings.json file: "[javascript][typescript]" : { "editor.maxTokenizationLineLength" : 2500 } Automatic 2x2 editor grid A true 2x2 grid editor layout was only possible using the View: Grid Editor Layout (2x2) command. Now you can get the same layout by manually splitting editors until you reach a 2x2 grid, and the grid will automatically lock into a true 2x2 layout.
Better Escape handling in lists Pressing Escape on lists and trees will now shrink the selection to a single element before clearing it. Find enabled on web The Find control is now supported inside webviews when VS Code is running in a browser (github.dev in the example below): Due to limitations with current browser APIs, find behaves a bit differently than it does on desktop. For example, on web, VS Code can only highlight the current find result.
On desktop, all results are highlighted in the current file. Screencast mode shows command names You can now choose to show command names as you trigger them via keyboard shortcuts in screencast mode. Use the Screencast Mode: Keyboard Shortcuts Format ( screencastMode.keyboardShortcutsFormat ) setting to configure this behavior. Pre release extensions VS Code now supports pre-release versions of extensions so you can opt in to install them and try out the latest cutting edge features from extensions.
VS Code shows an additional Install Pre-Release Version option in the extension Install drop-down menu for installing the pre-release version. Theme: GitHub Light Theme Once installed, an indicator makes it clear if you are using the pre-release version of an extension: Theme: GitHub Light Theme If there is a pre-release version of an extension that you have already installed, you can easily switch to it: Theme: GitHub Light Theme Updated Find actions The Find actions in the Search view now use the same style as Find actions in the editor: Source Control Ignore trim whitespace in quick diff You can now configure the SCM quick diff feature displayed in the left gutter to ignore trim whitespace, using the scm.diffDecorationsIgnoreTrimWhitespace setting.
Notebooks Adjust the font size in notebooks The new notebook.markup.fontSize setting lets you control the font size of notebook Markdown content. The default for this setting is 120% of the current editor font size. Syntax highlighting in Markdown cells VS Code now supports syntax highlighting of fenced codeblocks inside Markdown cells: File links in notebooks Markdown inside notebooks can now link to other files in the current workspace: Links the start with / are resolved relative to the workspace root.
Links that start with ./ or just start with a filename are resolved relative to the current notebook. Bare http(s) links notebooks In addition, Markdown text that includes http or https is now automatically turned into a link: This matches the behavior of other notebook renderers, such as JupyterLab. Dynamic visibility of notebook toolbar labels The notebook toolbar can decide if the label for an action should be visible based on the width of the editor group, by setting notebook.globalToolbarShowLabel to dynamic .
It will hide labels from the right-most action groups first and then the left side ones. If the editor group is still too narrow when all labels are hidden, the actions will be moved into an overflow menu. The other values for notebook.globalToolbarShowLabel are now always and never . Editor Unicode highlighting All uncommon invisible characters in source code are now highlighted by default: In addition, characters that can be confused with ASCII characters are also highlighted: You can read "The Invisible JavaScript Backdoor" blog post or this University of Cambridge article for how invisible or confusable Unicode characters can be used in Unicode spoofing attacks.
Note that this feature does not detect all possible Unicode spoofing attacks, as this depends on your font and locale settings. Also, the detection of ambiguous characters is done heuristically. To be on the safe side, VS Code's Workspace Trust Restricted Mode should be used to review source code, as all non-ASCII characters are highlighted in untrusted workspaces. The settings editor.unicodeHighlight.invisibleCharacters , editor.unicodeHighlight.ambiguousCharacters , or editor.unicodeHighlight.nonBasicASCII can be set to false to disable the corresponding feature.
Individual characters can be excluded from being highlighted and characters in comments or text with the following settings: editor.unicodeHighlight.allowedCharacters - List of specific characters not to be highlighted. editor.unicodeHighlight.includeComments - Enable highlighting characters in comments. In addition, Markdown documents are not highlighted by default. Multiple hover providers When having multiple hover providers for a document, the hover will now display as soon as one of the providers has returned a result and it will update with the rest of the providers results, as they come in: Before After Tasks auto
The rest of this page is on the live site.