August 2018 (version 1.27)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. August 2018 (version 1.27) Update 1.27.2 : The update addresses these issues . Downloads for 1.27.2 Windows x64 macOS Intel Linux 64-bit .deb .rpm .tar.gz Linux 32-bit .deb .rpm .tar.gz Welcome to the August 2018 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: Settings editor - New Settings editor UI to discover, search, and modify VS Code settings.
Custom menu bar - Fully themable title and menu bars on Windows and Linux. Breadcrumbs improvements - Symbols highlighted when navigating with breadcrumbs. New Terminal menu - Combined menu for creating terminals and managing tasks. Platform specific keyboard shortcuts - Share the same keybindings.json file across different OSs. CSS @import path completion - Import path suggestions while you type in CSS, SCSS, and Less.
JSON conditional evaluation - Support for 'if', 'then', and 'else' schema keywords. Built-in Loaded Scripts view - Loaded Scripts Explorer now available for debug extensions. If you'd like to read these release notes online, go to Updates on code.visualstudio.com . You can also check out this 1.27 release highlights video from Cloud Developer Advocate Brian Clark . 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 Settings editor Over the past few months, we've been developing a GUI for editing settings. In 1.27, we are making it the default settings editor. You can still access the JSON settings editor, either by using the command Preferences: Open User Settings (JSON) or by changing your default settings editor with the "workbench.settings.editor" setting.
One improvement we made this month is to clean up the UI by moving setting value descriptions ( enumDescriptions ) into a custom dropdown control: Settings that have been modified are now indicated with a blue line, like modified lines in the editor. The gear icon opens a context menu with an option to reset the setting to its default value. Setting values are now validated, and any validation errors are displayed. The table of contents now will remain visible during search, and filter to show only categories that have matches.
You can click on a category to filter the results to just settings under that category. Set "workbench.settings.settingsSearchTocBehavior" to "hidden" if you prefer to hide the table of contents during search. When you search in settings, our Bing-powered search service is still providing results that it thinks are relevant. Now, that service will also show you extensions from the Marketplace that have relevant settings.
You will see a button at the bottom of the settings search results, Show matching extensions . When clicked, the Extensions view will open with the matching extensions. Custom title bar and menus on Windows and Linux Also over the past few iterations, we have been working to improve the look and feel as well as usability of the title bar and menus on Windows and Linux. This iteration, we are removing the preview label with an aim to make this the default experience on Windows soon.
To enable this feature, you can set the setting "window.titleBarStyle" to "custom" . The new experience comes with several advantages over the default: Themable title bar, menu bar, and context menus throughout the product. This means your dark theme stays dark! Better keyboard navigation in the menu bar. We have made it easier to switch between menus with the keyboard and use menu mnemonics. A less intrusive menu bar.
The new experience is more compact and less jarring when setting "window.menuBarVisibility" to "toggle" . Better accessibility. Several accessibility issues have been resolved to improve menu usability with a screen reader. As we want to make this new experience the default on Windows, we encourage you to try it out and send us your feedback so we can provide the best possible experience. Breadcrumbs improvements We have tweaked the new breadcrumbs bar, made various improvements, and fixed bugs: Focused document symbols are now highlighted in the editor.
Breadcrumbs are automatically enabled when the focus command ( ⇧⌘; (Windows, Linux Ctrl+Shift+; ) ) is run. Breadcrumbs work a lot better with themes. Breadcrumbs now honor the file excludes configuration. New Terminal menu The Tasks menu was renamed to Terminal and some more entries for the Integrated Terminal were added. Platform specific keybindings It's now possible to enable keyboard shortcuts for specific operating systems using isLinux , isMac and isWindows within a keybinding's when clause: [ { "key" : "ctrl+o" , "command" : "workbench.action.files.openFolder" , "when" : "!isMac" }, { "key" : "cmd+o" , "command" : "workbench.action.files.openFolder" , "when" : "isMac" } ] This makes it much easier to share your keybindings.json file across different machines.
Open window as new native tab A new macOS-only command, workbench.action.newWindowTab , opens a window as new native tab. newWindowTab does not have a default keybinding and needs the setting window.nativeTabs to be enabled. Files no longer close when deleted/renamed externally We changed the default of the workbench.editor.closeOnFileDelete setting from true to false . This means that a file that has been deleted or renamed outside of VS Code (or by another program like Git or command from the Integrated Terminal) will no longer close a file that is opened as editor tab.
Instead, the file will indicate that it has been deleted from disk and you can just save the file to restore it. Note: Unless the file is dirty, the contents of the file are not preserved between restarts. Middle click to open file in a new editor Now it is possible to use the middle mouse click in the Explorer view to open a file in a new editor and not reuse the previous editor in preview mode . Accessibility improvements We have fixed quite some accessibility issues - mostly around keyboard navigation, screen reader support, and focus.
The full list can be found here . This is an ongoing effort which we plan to continue in September. Improved Windows background update We've done some stability work on our custom Windows background updater, in order to address issues resulting in broken installations for some users. This is a continuous work item with more improvements in upcoming releases. Editor Auto closing & surrounding characters When typing certain brackets like { , [ or ( , depending on the programming language, they will get auto-closed by default when they are followed by specific characters that typically cannot start an expression, for example ;:.,=}])> .
This behavior can be customized with the editor.autoClosingBrackets setting. Similarly, it is possible to customize the auto closing behavior while typing quotes like " , ' or ` with editor.autoClosingQuotes . When text is selected and you type one of these characters, the selection will be surrounded by brackets or quotes. It is now possible to adjust this behavior separately via the new editor.autoSurround setting. Languages Path completion for CSS imports Path completion for CSS, SCSS and Less @import is now available.
SCSS partial @import is handled as well. Jump to definition for CSS links There is now jump to definition for @import and url() links in CSS, SCSS and Less. JSON The built-in JSON language extension now supports the new JSON Schema Draft-07 . The most interesting addition are the if , then , else keywords to allow conditional schema evaluation. { "type" : "integer" , "minimum" : 1 , "maximum" : 1000 , "if" : { "minimum" : 100 }, "then" : { "multipleOf" : 100 }, "else" : { "if" : { "minimum" : 10 }, "then" : { "
The rest of this page is on the live site.