January 2019 (version 1.31)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. January 2019 (version 1.31) Update 1.31.1 : The update addresses these issues . Downloads for 1.31.1 Windows x64 macOS Intel Linux 64-bit .deb .rpm .tar.gz Linux 32-bit .deb .rpm .tar.gz Welcome to the January 2019 release of Visual Studio Code. There are a number of significant updates in this version that we hope you will like, some of the key highlights include: No reload on extension install - No interruptions when you install new extensions.
Tree UI improvements - Improved Explorer navigation and filtering, horizontal scrolling. Main menu updates - Redesigned Go actions menu, Edit menu Cut command. Multiline Problems output - See full multiline issue details in the Problems panel. Find All References history - Quickly rerun previous reference searches. Semantic selection for HTML, CSS, and JSON - Expand/shrink selection based on language semantics. Integrated Terminal reflow support - Terminal text automatically reflows as panel width changes.
Command-based user input variables - Custom user input for task and debug configuration. Updated Extension API documentation - Completely rewritten with extension guides. If you'd like to read these release notes online, go to Updates on code.visualstudio.com . You can also check out this 1.31 release highlights video from Cloud Developer Advocate Brian Clark . The release notes are arranged in the following sections related to VS Code focus areas.
Here are some further updates: Workbench - Zen Mode hides line numbers, new Screencast mode shows keystrokes. Editor - Smart selection improvements, tune Reference CodeLens location. Integrated Terminal - ConPTY support on Windows, Find improvements. Extension Authoring - Extensions change event, open resource in a browser action. 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 ! Extensions No reload on install Being able to install extensions without forcing a reload (restart) of VS Code is one of the most upvoted feature requests and we bring it to you in this release. You are no longer required to reload VS Code when you install or enable an extension. In the example below the user follows the recommendation to install the Vetur extension after opening a .vue file.
Notice that the language features provided by the Vetur extension (such as syntax coloring, diagnostic errors) are available immediately after installing the recommended extension. Reload is also not needed when you uninstall or disable an extension if it is not activated. Note: There are certain extensions that require reload because of external contributions (contributing to the extension points of other extensions).
It requires adoption from the external contribution point owners by listening to the extensions.onDidChange event. Workbench New tree widget We have pushed our widget game to the next level: a new tree widget was created to address performance issues and enable us to provide more features in several workbench areas. The new tree widget was created through composition over our high-performance list widget. We intend to write a separate blog post about this engineering work and the performance improvements.
For now, we'll focus on the features instead. Note: The new tree was adopted in the File Explorer, all Debug trees, Search, and Peek References. The features described below apply to most of those UI areas, unless explicitly disabled by us. Improved keyboard navigation There are now three different types of keyboard navigation in trees: simple , highlight , and filter . In both highlight and filter , typing in a tree will display a widget (control) at the top of the tree, which indicates that you are now navigating the tree: This widget can also be used to switch between the highlight and filter modes.
You can configure a keybinding to execute the list.toggleFilterOnType command if you'd like a keyboard shortcut for switching between modes. The Workbench > List: Keyboard Navigation ( workbench.list.keyboardNavigation ) setting sets the default mode, including the simple mode in which typing the first few characters of a tree element simply focuses that element. Users who have single letter keybindings for list/tree actions can still use this feature by making use of the listAutomaticKeyboardNavigation context key.
For example, the VIM extension sets this context key to false to disable automatic keyboard navigation and adds a keybinding / to the list.toggleKeyboardNavigation command, so users can just type / and navigate the tree. Learn more about this in the VSCodeVIM pull request . Theme authors can customize the widget's colors with the following new theme keys: listFilterWidget.background listFilterWidget.outline listFilterWidget.noMatchesOutline Note: These keyboard navigation modes currently only work on resolved tree nodes.
For example, in the File Explorer, if a folder was never expanded, the tree won't look for its children. We are considering several options to make this experience better. Hierarchical Select All Pressing Ctrl+A ( Cmd+A on macOS) in a tree will now expand the tree's selection in a hierarchical fashion. Customizable indentation You can now customize the node indentation of all trees across the workbench using the Workbench > Tree: Indent ( workbench.tree.indent ) setting.
Expand/Collapse All Holding the Alt key while expanding/collapsing tree nodes will now work recursively. Note that recursive expansion only works for nodes previously revealed in the tree. For example, the File Explorer will not automatically expand folders which were never expanded before by the user. Horizontal scrolling The Workbench > Tree: Horizontal Scrolling ( workbench.tree.horizontalScrolling ) setting now enables horizontal scrolling on more trees and lists, namely Explorer, Search, SCM, Debug, etc.
Problems panel Multi-line messages The Problems panel now shows multi-line diagnostic messages in separate lines. The example below shows how a multi-line error message from TypeScript is now presented. You can also toggle to show or hide the complete message using either the collapse/expand buttons or the Problems: Show message in single line and Problems: Show message in multiple lines commands. Trigger Code Actions using a keyboard shortcut You can now trigger Code Actions from the Problems panel using the same default keyboard shortcut ⌘. (Windows, Linux Ctrl+. ) as the Quick Fix command.
Improved the Go menu We added more navigation actions to the Go menu to make them easier to discover: Cut command in Explorer context menu Based on popular request we have added the cut command to the Explorer context menu. Fast scrolling Pressing the Alt key enables fast scrolling in the editor and Explorers. By default, fast scrolling uses a 5X speed multiplier but you can control the multiplier with the Editor: Fast Scroll Sensitivity ( editor.fastScrollSensitivity ) setting.
Zen Mode hides line numbers Turning on Zen Mode will now also hide editor line numbers. This behavior can be controlled via zenMode.hideLineNumbers setting. Added keyboard navigation in Linux with custom menus Our custom menus now support the use of the Page Up/Down and Home/End keys to quickly jump to the beginning or end of the menu. Double-click the application icon to close in Windows/Linux Due to technical tradeoffs, by default, the custom title bar on Window and Linux removes the functionality of double-clicking the application icon to close the window.
The functionality can be regained by enabling the setting window.doubleClickIconToClose with the caveat that you will no longer be able to drag the window from this location or get the system context menu on Windows. Closing order of editor tabs A new
The rest of this page is on the live site.