June 2018 (version 1.25)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. June 2018 (version 1.25) Update 1.25.1 : The update addresses these issues . Downloads for 1.25.1 Windows x64 macOS Intel Linux 64-bit .deb .rpm .tar.gz Linux 32-bit .deb .rpm .tar.gz Welcome to the June 2018 release of Visual Studio Code. We're very excited to move several features announced as Preview last month to Stable.
Some of the key highlights include: Grid editor layout - Custom horizontal and vertical editor layout. Outline view - Symbol tree outline and navigation for your documents. Portable Mode - Run or copy your VS Code setup from a USB thumb drop or file share. Hover display options - Control the appearance of hover information. Sub-word navigation - Quickly navigate in camelCase words. Floating debug toolbar - Keep the debug toolbar always visible without hiding editor tabs.
Extensions view improvements - Easily see Enabled, Disabled, and Recommended extensions. Preview: Settings editor - Now with a "Table of Contents" to organize settings. Language Server Protocol Inspector - Extension authors can visualize LSP protocol traffic. New Python Flask tutorial - Use VS Code to create and debug Python Flask web applications. If you'd like to read these release notes online, go to Updates on code.visualstudio.com .
You can also check out this 1.25 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 - Drop files and folders into empty Explorer, uniform history navigation. Editor - Smart suggestion selection, snippet placeholder transforms. Languages - Update JS/TS imports on folder rename, CSS pseudo selectors and elements.
Preview Features - User setup on Windows, custom tool and menu bar for Windows and Linux. Extension Authoring - Contribute grid editor layouts, preselect Completion Items. New Commands - New grid editor layout commands and keyboard shortcuts. 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 Grid editor layout You can now arrange editors both vertically and horizontally and have more than 3 editors side by side: To support flexible layouts, you can create empty editor groups. By default, closing the last editor of an editor group will also close the group itself, but you can change this behavior with the new setting workbench.editor.closeEmptyGroups: false . There are a predefined set of editor layouts in the new View > Editor Layout menu: Editors that open to the side (for example by clicking the editor toolbar Split Editor action) will by default open to the right hand side of the active editor.
If you prefer to open editors below the active one, configure the new setting workbench.editor.openSideBySideDirection: down . There are many new commands for adjusting the editor layout with the keyboard alone, but if you prefer to use the mouse, drag and drop is a fast way to split the editor in any direction: Since editor groups are now unlimited and can be arranged in many ways, the OPEN EDITORS view no longer labels editor groups as Left , Center , or Right .
Instead, editor groups are now labeled with numbers according to their creation time. The last editor group created will always be at the end of the OPEN EDITORS list. We found this to be a good model that minimizes changing the list when moving editor groups around in the layout: Refer to the Extension Authoring section for the impact on extensions and themes and see New Commands for the list of new grid editor layout commands.
Pro Tip : If you press and hold the Alt key while hovering over the toolbar action to split an editor, it will offer to split to the other orientation. This is a fast way to split either to the right or to the bottom. Due to the grid layout work we have changed how the centered editor layout behaves: It is now possible to open any editor layout inside the centered editor layout. Thus it gives more flexibility to the user.
Centered editor layout no longer automatically enables and disables based on the layout. As this was sometimes confusing and lead to unexpected behavior. Outline view The Outline view is out of preview and now enabled by default. It is a separate section in the bottom of the File Explorer. When expanded, it will show the symbol tree of the currently active editor. The Outline view has different Sort By modes, optional cursor tracking, and supports the usual open gestures.
It also includes an input box which finds or filters symbols as you type. Errors and warnings are also shown in the Outline view, letting you see at a glance a problem's location. There are several Outline view settings which allow you to enable/disable icons and control the errors and warnings display (all enabled by default): outline.icons - Toggle rendering outline elements with icons. outline.problems.enabled - Show errors and warnings on outline elements. outline.problems.badges - Toggle using badges for errors and warnings. outline.problems.colors - Toggle using colors for errors and warnings.
There is also a new API for extensions authors. Portable Mode VS Code now supports Portable Mode, where all data created and maintained by VS Code is located near the installation. This lets you easily move a VS Code setup across environments, for example through a USB drive or file share. Portable Mode is supported on the ZIP download for Windows and Linux, as well as the regular Application download for macOS. Click here to learn more.
Drop files and folders into empty files explorer It is now possible to drop files, folders, and VS Code workspace files into an empty Explorer to open them. History navigation Navigating input history is now more natural and consistent across VS Code. You can use the UpArrow ( history.showPrevious ) and DownArrow ( history.showNext ) keys to navigate the input boxes in the Search and Problems views and the Find widgets in the Editor, Terminal, and Web views.
For simplicity and consistency, we changed the default keybindings for navigating among input boxes from UpArrow and DownArrow to Ctrl+UpArrow (or Cmd+UpArrow on macOS) and Ctrl+DownArrow (or Cmd+DownArrow on macOS) keys respectively. You can always go back to previous behavior by updating ⌘↑ (Windows, Linux Ctrl+Up ) , ⌘↓ (Windows, Linux Ctrl+Down ) and ⌘↑ (Windows, Linux Ctrl+Up ) keybindings. Note : We also removed all existing 18 History Navigation Commands and unified them into two commands history.showPrevious and history.showNext .
Editor Hover display options Some users prefer to have no hover suggestions covering text in the editor and the editor hover can now be customized with three additional settings. Use editor.hover.enabled to toggle the editor hover, use editor.hover.delay to customize the time until the hover is shown, and use editor.hover.sticky to change if the hover should remain visible when moving the mouse over it. Sub-word support We have new commands for sub-word navigation and sub-word deletion.
These commands will stop at camel case positions and at underscores ( _ ). Here is an example for how you can bind them: { "key" : "ctrl+alt+right" , "command" : "cursorWordPartRight" , "when" : "textInputFocus" }, { "key" : "ctrl+shift+alt+right" , "command" : "cursorWordPartRightSelect" , "when" : "textInputFocus" }, { "key" : "ctrl+alt+left" , "command" : "cursorWordPartStartLeft" , "when" : "textInputFocus" }, { "key" : "ctrl+shift+alt+left" , "command" : "cursorWordPartStartLeftSelect" , "when" : "textInputFocus" }, { "key" : "ctrl+alt+backspace" , "command" : "deleteWordPartLeft" , "when" : "textInputFocus && !editorReadonly" }, { "key" : "ctrl+shift+alt+backspace" , "comman
The rest of this page is on the live site.