November 2018 (version 1.30)
🎬 Watch The Story of VS Code! VS Code is now on Instagram, follow @vscode.ig for updates, tips, and more. Rewatch GitHub Copilot Day. November 2018 (version 1.30) Update 1.30.2 : The update addresses these issues . Update 1.30.1 : The update addresses these issues . Downloads for 1.30.2 Windows x64 macOS Intel Linux 64-bit .deb .rpm .tar.gz Linux 32-bit .deb .rpm .tar.gz Welcome to the November 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 improvements - Easily create multiline search patterns without using regex. Custom title bar on Linux - The custom title and menu bar is now the default on Linux. References view - Find All References view includes history of recent searches. Snippet comment variables - Snippet variables insert correct comment per language.
JS/TS callback display - Now you can see the context of anonymous callbacks. JSDoc Markdown highlighting - Including syntax highlighting for Markdown code blocks in JSDoc. Simplified debug configuration - Better defaults and Quick Pick UI for initial launch configuration. Run tasks on folder open - Configure tasks to run when you first open a project folder. Choose extension version - Install earlier versions of Marketplace extensions.
If you'd like to read these release notes online, go to Updates on code.visualstudio.com . The release notes are arranged in the following sections related to VS Code focus areas. Here are some further updates: Workbench - Menu scrolling and improved overflow handling, one click to open settings.json. Languages - JS/TS renames now handle destructuring, add missing 'new' Quick Fix. Debugging - Delete debug consoles, debug directly from the VS Code Process Explorer.
Tasks - Clear task terminal, user input for task variables, rerun last task command. Extension Authoring - Go to Declaration support, new Signature Help context. 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 Multiline search input Last month, we added support for multiline search.
This month we improved the search UX to make it easier to use. Now, you can search with multiline text without having to write a regular expression. Type Shift+Enter in the search box to insert a newline, and the search box will grow to show your full multiline query. You can also copy and paste a multiline selection from the editor into the search box. Custom title and menu bar on Linux by default Over several releases, we have been improving the accessibility and themability of menus on Windows via the custom title and menu bar.
While it was optionally available on Linux, in this release it will now be enabled by default. To use the native title bar, you can set the window.titleBarStyle to native . Scrolling menus With the custom menu bar enabled, menus are restricted to being rendered within the VS Code window. Previously, menus could be cut off by the boundaries of the window. This has now been address by making context menus scrollable when needed.
Menu bar overflow menu The menu bar also has a new overflow menu ( ... ) when your window width is not enough for both the menu bar and your window title. Moved Settings editor actions The Settings editor actions ( Open settings.json , Show modified settings , etc.) have been moved from the ... menu inside the Settings editor to the editor title bar. This makes them consistent with other editor types, and Open settings.json is now just one click away with the curly braces {} button.
The Keyboard Shortcuts editor has made the same change. References view The References view has been polished and is no longer a preview feature. There are now two commands: Find All References which opens the References view. Peek References which opens references in a Peek view. The References view is hidden at startup but will remain visible once it has been used. If all search results are cleared, it shows a history of previous searches.
There is now a results summary at the top of the view and a context menu to clear and copy results. Many bugs were fixed and the overall stability has been improved. Editor Snippet comment variables There are new snippet variables that insert line or block comments, honoring the current language. Use BLOCK_COMMENT_START and BLOCK_COMMENT_END for block comments and LINE_COMMENT otherwise. The snippet below inserts /* Hello World */ in JavaScript files and <!-- Hello World --> in HTML files { "hello" : { "scope" : "javascript,html" , "prefix" : "hello" , "body" : "$BLOCK_COMMENT_START Hello World $BLOCK_COMMENT_END" } } Declaration versus definition Until now, VS Code offered commands for displaying the definition of a symbol, for example Go to Definition and Peek Definition .
This didn't take into account the fact that some languages differentiate, stricter than others, between the declaration and the definition of a symbol. We have fixed that and there are now commands Go to Declaration and Peek Declaration for the declaration of a symbol. The data required for language features like Go to Declaration is computed by extensions and there is a new API, which you can read about in the Extension Authoring section.
Smooth cursor animation There is a new setting, editor.cursorSmoothCaretAnimation , which will enable a transition animation whenever the cursor is moved. Git integration Change default click action You can now change the default action when you click on a file in the Source Control view. By default, VS Code will open the Diff view but by setting git.openDiffOnClick to false , the file will open in a regular editor. Push or sync on commit A new setting git.postCommitCommand allows you to either push or sync your repository after a commit.
The available values are none (default), push , and sync . Languages TypeScript 3.2 VS Code now includes TypeScript 3.2.2 . This release brings some exciting new language features, including strict typing of bind , call , and apply , and BigInt support . The TypeScript update also fixes some important bugs and includes new tooling features and improvements Improved display of JavaScript and TypeScript callbacks JavaScript and TypeScript anonymous callbacks were all previously labeled as <function> in the Outline view, breadcrumbs view, and document symbol list.
This made it impossible to tell which function you were really after: With TypeScript 3.2+, VS Code now displays more context for callback functions so that you can tell them apart: Renames handle JS/TS destructuring properly Renames now handle JavaScript and TypeScript destructuring and will introduce an alias if needed: Adding missing new JS/TS Quick Fix Forget a new when instantiating a class? TypeScript 3.2 brings a new Quick Fix to help out: This Quick Fix works in TypeScript and in type checked JavaScript .
File icons for JS/TS path suggestions Building on work in VS Code 1.29 , the IntelliSense widget now shows file icons for JavaScript and TypeScript path suggestions: Highlighting of Markdown elements in JSDoc comments Fenced code blocks and other Markdown elements inside of JSDoc blocks are now syntax highlighted: This inline highlighting better matches VS Code's Markdown rendering of JSDoc for hovers and IntelliSense documentation.
Debugging Simplified initial debug configuration This milestone we looked into simplifying the generated launch.json file for our most popular debug extensions. Our goal was to make it easier for users to start and configure debugging. This meant hiding unnecessary launch configuration attributes and using the Quick Pick UI for better user interaction while generating the initial launch.json . More details about this effort can be found in issue #62851 .
Debug consoles can be deleted
The rest of this page is on the live site.