September 2019 (version 1.39)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. September 2019 (version 1.39) Update 1.39.1 : The update addresses these issues , including a fix for a security vulnerability. Update 1.39.2 : The update addresses these issues . Downloads for 1.39.2 Windows x64 macOS Intel Linux .deb .rpm .tar.gz Snap Welcome to the September 2019 release of Visual Studio Code.
There are a number of updates in this version that we hope you will like, some of the key highlights include: Text selections displayed in minimap - See selection regions in the minimap overview. Toggle region folding keyboard shortcut - Quickly expand and collapse regions with Toggle Fold. Source Control tree view - Display pending changes in either a list or new tree view. Open terminal in custom working directory - Add keyboard shortcuts for specific folders.
HTML ARIA attribute reference links - Links to ARIA documentation directly from IntelliSense. CSS property completions include semicolons - Semicolons added as you enter CSS properties. CSS color variables preview - Color variable completions display color swatch. Improved column breakpoint UI - View possible inline breakpoints directly in your source code. Inline debug actions in CALL STACK view - Stay in context with debug actions on hover.
Remote Explorer updates - Explorer now displays WSL distros and repository containers. If you'd like to read these release notes online, go to Updates on code.visualstudio.com . Insiders: Want to see new features as soon as possible? You can download the nightly Insiders build and try the latest updates as soon as they are available. And for the latest Visual Studio Code news, updates, and content, follow us on Twitter @code !
Workbench Updated Source Control view The Source Control view has been updated to use the latest tree widget. You can now toggle between a list and a tree view with the Toggle View Mode button on the Source Control title bar. You can change the default view using the scm.defaultViewMode setting, which takes the values list or tree . You also now benefit from the automatic keyboard navigation and filtering of the updated tree widget by simply starting to type in the view.
When in tree view mode, which displays folders, the Git extension now contributes commands to folders, for example Stage Changes , which will be applied to all files within a folder. Improved Trusted Domains setting We simplified the management of trusted domains for the outgoing link protection feature introduced in the 1.38 release. You can now use the command Manage Trusted Domains to easily add, remove, or modify trusted domains as a JSON text file.
Selectable completion details Auto completion details can now be selected for copy and paste. Updated Japanese UI font on Windows On Windows, we have switched the Japanese UI typeface from Meiryo to Yu Gothic UI and Meiryo UI . The UI typefaces save horizontal space by using narrower Japanese kana characters. You can use the Japanese UI by installing the Japanese Language Pack and, with the Configure Display Language command, setting the display language identifier to ja .
In the image below, you can see how the narrower UI typeface looks in the Insiders (green icon) menu bar. Improved monospace typeface display in suggestions and hovers Previously, the inline <code> segments in the suggestion and hover widgets didn't specify font-family . On Windows / macOS, these segments were rendered with Chrome's default choice for font-family: monospace . In this iteration, we aligned them with the system sans-serif typefaces that are used throughout the VS Code UI.
Windows: Courier New -> Consolas (To align with Segoe UI ) macOS: Courier -> SF Mono , Monaco , Menlo (To align with SF Text and Helvetica Neue ) Linux: No change. Inline code segments still rendered in Liberation Mono , which is Chrome's default for font-family: monospace on Linux. Below you can see that SF Mono gives a more consistent appearance to the inline code blocks. Validation for uniqueItems in the Settings editor Validation for string array settings , which was introduced in the 1.38 release, now supports uniqueItems .
If using "uniqueItems": true , duplicate entries in the Settings editor will show a warning. Code block highlighting in extension READMEs Code blocks in extension READMEs, which are displayed in the Extensions view Details pane, are now highlighted in VS Code: The highlighting uses the current color theme . Editor Toggle folding You can now expand and collapse a folding region with the Toggle Fold ( ⌘K ⌘L (Windows, Linux Ctrl+K Ctrl+L ) ) command.
Minimap editor selection decorations The editor selection is now highlighted within the minimap: You can change the color of these decorations by modifying the minimap.selectionHighlight theme color. Touch events for the minimap The minimap slider can now be dragged with touch. New option for multi cursor pasting In the past, when pasting multi-line text from the clipboard, VS Code would check if the clipboard text line count matched the cursor count, and if it did, it would "distribute" or "spread" each line to a cursor.
You can now control this behavior with the editor.multiCursorPaste setting, which can have the values: spread - Each cursor pastes a line of text (default). full - Each cursor pastes the full clipboard text. Integrated Terminal Open new terminals with custom working directories There is a new command that allows the creation of terminals with a custom current working directory (cwd): { "key" : "cmd+shift+h" , "command" : "workbench.action.terminal.newWithCwd" , "args" : { "cwd" : "${fileDirname}" } } You can create your own keyboard shortcuts to open new terminals in any number of handy working directories.
The cwd value can either be a normal path or a variable . Better locale detection The terminal.integrated.setLocaleVariables setting has been replaced with the new terminal.integrated.detectLocale setting. The default value is auto , which will set the $LANG variable in your terminal session to the detected language UTF-8 value but only when it has not been explicitly configured by the user. This better default should lead to fewer issues related to language and encoding in the terminal.
Languages HTML ARIA attributes reference Auto completion and hover information for HTML ARIA attributes now include a reference to the corresponding WAI-ARIA documentation. CSS property completion with semicolon CSS property completion now inserts a semicolon at the end of a line. You can use this feature with Ctrl+Enter (Windows / Linux) or Cmd+Enter (macOS) to create a new line without pushing the ending ; to the new line.
You can control this feature with the [css|scss|less].completion.completePropertyWithSemicolon settings. CSS color preview for variable completion When completing CSS variables, if the original variable is a color string, VS Code now shows the completion item with its color: markdown.links.openLocation The new markdown.links.openLocation setting controls where links within Markdown files are opened. markdown.links.openLocation has two values: currentGroup - Opens links in the current editor group (default). beside - Open links to the side of the current Markdown editor.
"markdown.links.openLocation": "beside" can be useful when working on documentation. Debugging Improved UI for column breakpoints While debugging, VS Code now shows all the breakpoint candidate locations inline. This makes it easier for the user to place a breakpoint on a more accurate position. To not clutter the UI, candidate breakpoints are only shown if there is more than one possible location on the line. You can interact directly with inline breakpoints; clicking to enable and disable them and invoking their context menu for more actions.
Note that this feature requires support by the underlying runtime or debugger, and we expect only a few debug extensions will use this fe
The rest of this page is on the live site.