February 2017 (version 1.10)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. February 2017 (version 1.10) Update 1.10.2 : Adds the 1.10 translations and addresses a handful of issues . Downloads: Windows | Mac | Linux 64-bit: .tar.gz .deb .rpm | Linux 32-bit: .tar.gz .deb .rpm February Release Summary Welcome to the February 2017 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: Preview: Minimap - Get a 10,000 foot view of your code with Minimap.
Preview: Drag and Drop in the editor - Easily drag and drop text around the editor. Copy text with formatting - Copy code examples with full syntax highlighting. Auto generate JSDoc - Simply type /** to generate JSDoc comments for your functions. File Explorer key bindings - You can now create shortcuts for the Explorer and other list/tree UI. Official Linux repositories - VS Code supports auto-updating packages on Linux.
Improved Exception view - Easily view exception details in the debugger. Column breakpoints - Set multiple breakpoints on the same line of source code. Links in the Terminal - Integrated Terminal output links streamline the workflow between editor and commands. Keybinding support for tasks - Assign keyboard shortcuts to commonly used tasks. HTML DOM navigation - Quickly navigate to DOM elements by id and class name. Language specific default settings - Appropriate default settings for Go, Make, YAML and Markdown.
The release notes are arranged in the following sections related to VS Code focus areas. Here are some further updates: Editor - Word wrap settings simplification, manually trigger Save actions, new cursor styles. Workbench - Configurable window title, run either selected text or entire file from the Integrated Terminal. Languages - TypeScript 2.2, disable color preview decorators, better link navigation in Markdown. Debugging - Launch debugger using just the keyboard, new variable syntax.
Tasks - Run tasks in separate terminals, new ${lineNumber} variable. Extension Authoring - Pluggable SCM provider, Modal message dialogs, provide language specific settings. Tip: 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. Editor Preview: Minimap A Minimap gives you a high level overview of your source code which is very useful for quick navigation and code understanding.
To enable VS Code's Minimap, set "editor.minimap.enabled": true to turn on the rendering of a Minimap for the current file. The screenshot above is on a Surface Book (high DPI display). Based on the devicePixelRatio (for example, regular or retina/high DPI displays), the Minimap will render characters either at 4x2 pixels or at 2x1 pixels. For those that would prefer a more schematic representation for the current file, there is editor.minimap.renderCharacters that can be set to false to render blocks instead of characters in the Minimap.
Here it is on a regular display: This milestone we have focused on rendering the characters in a fast, incremental way (we reuse as many pixels as possible from the previous frame when rendering a new frame). We plan to add more useful information to the Minimap in the future, for example current selection, find matches, Git diff annotations, etc. Preview: Drag and Drop selected text You can now use the mouse to drag and drop selected text inside the editor.
This feature is disabled by default and you can turn it on by set editor.dragAndDrop to true . Please note we don't support drag-and-drop across editors or across different applications at the moment. Copy with syntax highlighting You can now copy selected text to the Clipboard with syntax highlighting. It can be very useful when you paste the content into another application, for example, Outlook, and the content pasted into the application still has the correct formatting and colorization.
Technically, we add a new entry for HTML content into the Clipboard so even if the target application doesn't support pasting rich text, the pasting will still work. Copying plain text to the Clipboard is easy and straight-forward but copying text with syntax highlighting has to pay the price of rendering based on the Theme you are using, so in order to make sure this feature doesn't slow down VS Code noticeably, we turn it off if you are copying a selection which contains more than 65536 characters.
If Copy and Paste with correct format and colors is your top priority, so you can always manually run the new command editor.action.clipboardCopyWithSyntaxHighlightingAction or even bind it to ctrl/cmd+c so you don't need to worry if the selection length reaches the limit. Word wrap settings redesign In VS Code 1.9, we've changed the Toggle Word Wrap action to persist to User settings. The change was received with mixed feelings by our community, so for VS Code 1.10 we have rolled back that change and the action will only temporarily affect the current focused editor.
The change also started a healthy discussion around the difficulty of configuring the editor's wrapping behavior. We therefore decided to deprecate editor.wrappingColumn (with its -1, 0, >0 cases) in favor of editor.wordWrap . Here are the new word wrap options: editor.wordWrap: "off" - Lines will never wrap. editor.wordWrap: "on" - Lines will wrap at viewport width. editor.wordWrap: "wordWrapColumn" - Lines will wrap at the value of editor.wordWrapColumn . editor.wordWrap: "bounded" - Lines will wrap at the minimum of viewport width and the value of editor.wordWrapColumn .
We also changed the default and now VS Code ships with editor.wordWrap: "off" . In this release, we added support for language specific default settings and we now turn on word wrap by default for Markdown files. Manually trigger save actions You can now save an editor via ⌘S (Windows, Linux Ctrl+S ) even if the file is not dirty and extensions which perform actions on save will be triggered. This allows you to trigger Format on Save even if the file is not dirty.
New cursor styles Thanks to PR #14237 , there are three more cursor styles available: 'line-thin' , 'underline-thin' and 'block-outline' . Workbench Configurable Explorer key bindings By popular demand, you can now configure the key bindings for most of the commands in the File Explorer and OPEN EDITORS view. The following commands could already be assigned prior to version 1.10 in the File Explorer: explorer.newFile - Create a new file explorer.newFolder - Create a new folder New commands that work in both the File Explorer and OPEN EDITORS view explorer.openToSide - Open to the side copyFilePath - Copy path of file/folder revealFileInOS - Reveal file in OS New commands that only work in the File Explorer: filesExplorer.copy - Copy a file from the File Explorer filesExplorer.paste - Paste a file that was copied from the File Explorer renameFile - Rename a file/folder in the File Explorer moveFileToTrash - Move a file/folder to trash from the File Explorer deleteFile - Bypass trash and delete a file/folder from the File Explorer filesExplorer.findInFolder - Find inside a folder from the File Explorer In addition to these commands, the following contexts are introduced for key bindings: filesExplorerFocus - Keyboard focus is inside the File Explorer openEditorsFocus - Keyboard focus is inside the OPEN EDITORS view explorerViewletFocus - Keyboard focus is in either the File Explorer or OPEN EDITORS view Configurable tree/list key bindings We introduced new commands (see below) to make working with trees and lists UI elements in VS Code more configurable for keyboard centric users.
Here is a list of new commands that will work in every tree and list: Command Keyboard shortcut list.focusUp Up Arrow (additionally on macOS: Ctrl+P ) list.focusDown Down Arrow (additionally on macOS: Ctrl+N ) list.focusFirst Home list.focusLast
The rest of this page is on the live site.