October 2018 (version 1.29)
Join VS Code at Microsoft Ignite or catch the sessions online. A year of VS Code, wrapped. Explore the highlights. October 2018 (version 1.29) Update 1.29.1 : The update addresses these issues . Downloads for 1.29.1 Windows x64 macOS Intel Linux 64-bit .deb .rpm .tar.gz Linux 32-bit .deb .rpm .tar.gz Welcome to the October 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: Multiline search - Search across files with regex multiline expressions.
File icons in IntelliSense - Quickly distinguish file types in IntelliSense. Better macOS support - Full screen mode control and Mojave Dark Mode support. Collapsible stack frames - Collapse uninteresting stack frames to clearly see your code. Improved Loaded Scripts view - Displays related resources such as original source files. Updated extension samples - Uniform style and structure, README, and API usage. CI recipe for extensions - Azure Pipelines build recipe for extensions.
Preview: Find All References - Find All References view shows reference search results. If you'd like to read these release notes online, go to Updates on code.visualstudio.com . You can also check out this 1.29 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 - Platform specific end-of-line characters, highlight modified file tabs.
Integrated Terminal - Split terminal cwd options, Cmd+Backspace to delete to start of line. Languages - Display CSS Specificity on hover, handle unknown CSS properties. Debugging - Multiple debug consoles, start with stop on entry, style console.log messages. Extension Authoring - Active terminal API, more control over custom views. 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 ! Search Multiline search VS Code now supports multiline search! Same as in the editor, a regex search executes in multiline mode only if it contains a \n literal. The Search view shows a hint next to each multiline match, with the number of additional match lines. This feature is possible thanks to the work done in the ripgrep tool to implement multiline search.
Backreferences and lookahead in search It is also now possible to use backreferences and lookahead assertions in regex searches, by setting "search.usePCRE2": true . This configures ripgrep to use the PCRE2 regex engine. While PCRE2 supports many other features, we only support regex expressions that are still valid in JavaScript, because open editors are still searched using the editor's JavaScript-based search. If you are still missing lookbehind assertions, don't worry!
That feature is just recently supported by JavaScript and should come to VS Code in a later Electron shell update. Show line numbers in search We've added a setting search.showLineNumbers which will display the line number for each match in the Search view. Disable search and replace preview There is a new setting search.useReplacePreview which allows you to disable the preview diff that appears when doing a search/replace in the Search view.
Use global .gitignore file in search Git allows you to configure a global gitignore file using the core.excludesfile config property. By default, search does not respect the global gitignore file, but you can now change this by enabling the new setting search.useGlobalIgnoreFiles . Workbench macOS Mojave Dark Mode support The macOS Mojave Dark Mode is now better supported in VS Code. Previously, VS Code menus and dialogs would show with the default light theme, even if macOS was running in dark theme.
Now, all native UI elements will show with the Dark Mode if enabled. macOS full screen support A new setting window.nativeFullScreen was introduced that, if set to false , will enable full screen mode for VS Code that does not use the native macOS full screen feature. This has the advantage that entering full screen mode will not create a macOS space on the desktop. By default, VS Code will still use macOS native full screen.
New default for files.eol : auto The files.eol end of line setting now has a new default value auto . When set to auto , the end of line character for new files is specific to the operating system. It is \r\n on Windows and \n on macOS and Linux. You can also still explicitly set file.eol to \n or \r\n . Highlight modified tabs A new setting workbench.editor.highlightModifiedTabs displays a thick border at the top of editor tabs whenever the editor is dirty (has unsaved changes).
This makes it easier to find files that need to be saved. The color of the border can be customized (see below). Centered editor layout auto resize Centered layout view will now automatically resize to max width when more than 1 editor group is open. This should make centered layout easier to use and require less manual toggling. This behavior is controlled by a new setting workbench.editor.centeredLayoutAutoResize which is enable by default.
Symbol order in Breadcrumbs There is a new setting that controls how symbols in the Breadcrumbs picker are ordered: breadcrumbs.symbolSortOrder . Allowed values are: position - position in the file (default) name - alphabetical order type - symbol type order The example below shows the Breadcrumbs symbol list ordered by name: Breadcrumbs and preview editors When middle clicking items in the Breadcrumbs navigation, they now open in a new editor and don't reuse the preview editor.
This behavior now matches middle clicking files in the Explorer. Notifications automatically hide even when showing buttons Previously, VS Code would never hide notifications if they included buttons. This resulted in the potential for notifications to pile up in the lower right corner and cover parts of the editor. With this release, notifications are hidden after a timeout even if they show buttons. There are two exceptions: Notifications with error severity will not be hidden on the assumption that the user needs to take some action.
A few specific notifications from VS Code will remain open. For example, the notification that asks if you'd like to install an extension after browsing the VS Code Marketplace. Note: Even if notifications are hidden, you can always access all notifications from the Notification Center, either by clicking on the little bell icon in the Status bar or via the Show Notifications ( notifications.toggleList ) command. Panel position button to context menu In order to preserve horizontal space and reduce clutter, we removed the toggle Panel position button ( Move to Right , Move to Bottom ) from the Panel title area.
The action is now available in the Panel title area context menu and also in View > Appearance > Toggle Panel Position main menu. Another reason for removing this button was that we believe users set their layout once and don't normally toggle back and forth. Updated file icons per file type In the previous release , we added custom icons for common VS Code file types. We now added those icons to smaller views so they will appear in a list view.
Settings editor "Modified in" hint is now a link In the Settings editor, we show a hint when a setting is configured in a scope (User, Workspace) other than the currently selected scope. The other scope hint is now a link that will take you to the setting in the other scope. Tree widget performance The VS Code tree widget control is used in many places in the VS Code UI but was hitting performance limits in some specific use cases (Problems panel, Outline view).
We have been working on faster virtual tree widget implementations which can accommodate different levels of performance versus API convenience. You can read here to
The rest of this page is on the live site.