Open rogerxu opened 2 years ago
Visual Studio Code January 2019
There are now three different types of keyboard navigation in trees: simple
, highlight
, and filter
.
Pressing Ctrl+A
(Cmd+A
on macOS) in a tree will now expand the tree's selection in a hierarchical fashion.
We added more navigation actions to the Go menu to make them easier to discover.
See full multiline issue details in the Problems panel.
You can also toggle to show or hide the complete message using either the collapse/expand buttons or the Problems: Show message in single line and Problems: Show message in multiple lines commands.
Pressing the Alt
key enables fast scrolling in the editor and Explorers. By default, fast scrolling uses a 5X speed multiplier but you can control the multiplier with the Editor: Fast Scroll Sensitivity (editor.fastScrollSensitivity
) setting.
There is a new Screencast Mode in VS Code, which highlights the cursor position and keystrokes. Screencast Mode (Developer: Toggle Screencast Mode) can be useful for demonstration purposes.
There is now a References: Show History command for the References view. It brings up Quick Pick with previous searches allowing speedy reruns of previous searches.
Expand/shrink selection based on language semantics.
The terminal will now wrap and unwrap lines when it is resized horizontally.
Custom user input for task and debug configuration.
Completely rewritten with extension guides.
Visual Studio Code February 2019
You can now preview and apply color and file icon themes immediately after installing an extension that contributes them.
A command bar with Quick Fix and Peek Problem actions was added to the Problems hover.
When a preferred fix is available, a blue badge is added to the lightbulb. Preferred fixes can be automatically applied using the Auto Fix command (Shift+Alt+.
).
expandLineSelection
The command expandLineSelection
is now bound by default to Ctrl+L
(Cmd+L
on macOS) and not to Ctrl+I
(Cmd+I
).
With the Multi Cursor Modifier setting configured to use Ctrl
(Cmd
on macOS) "editor.multiCursorModifier": "ctrlCmd"
, and thus the Alt
modifier is only used for Go to Definition, it is now possible to press the Alt
modifier when dragging a selection in the editor to toggle between a regular selection or a column selection.
VS Code now shows descriptions for ARIA (Accessible Rich Internet Applications) attributes and DOM events.
Quick Pick to choose between installed locales.
Filter out elements like keywords or remove displayed icons.
editor.suggest.filteredTypes
- Filter specific types from IntelliSense, for instance keywords are filtered with: { "keyword": false }
.editor.suggest.maxVisibleSuggestions
- Control the number of items IntelliSense shows at once.editor.suggest.showIcons
- Enable or disable displaying icons in IntelliSense.Set default document formatter by project and language.
editor.defaultFormatter
when there are multiple formatters available, you can define one as the default.
Open Peek view and/or navigate to primary location.
New TS refactoring to use named parameter objects.
In Node.js cluster debugging, all subprocesses of a cluster are registered under the main debug session:
Automatically open a browser when debugging web server code.
VS Code looks for the trigger message not only in the Debug Console but also in the Integrated Terminal.
Detect and offer to install missing dependencies.
VS Code now optimistically caches CodeLens locations and restores them immediately after switching editors. This fixes an issue where CodeLens lines would shift slightly when switching between editors.
The Tasks: Terminate Task command has a new option to terminate all tasks if there are multiple tasks running. If this is an action you do often, you can create a keyboard shortcut for the command with the terminateAll
argument.
{
"key": "ctrl+k t",
"command": "workbench.action.tasks.terminate",
"args": "terminateAll"
}
The new revealProblems
task property allows you to automatically show the Problems panel. The property values are always
, never
, and onProblem
.
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "always",
"revealProblems": "onProblem"
}
}
]
}
JavaScript and TypeScript now support smart selection. This feature uses semantic knowledge to intelligently expand selections for expressions, types, statements, classes, and imports.
The terminal now supports programs that use true color (24-bit) escape sequences, rendering the correct color instead of the previous approximation of it.
A new setting merge-conflict.diffViewPosition
allows you to open the diff view in a new editor group when you compare merge conflicts. In addition, the new view shows the complete diff view of the changed file, which provides better context for the merge conflicts.
The tree widget now supports indent guides. This means indent guides are now available in the File Explorer, Search view, Debug views, etc.
workbench.tree.renderIndentGuides
Easily select the default shell to use in the Integrated Terminal.
Control the order of task and subtask execution.
The dependsOn
task attribute still defaults to running all dependencies in parallel, but now you can specify "dependsOrder": "sequence"
and have your task dependencies executed in the order they are listed in dependsOn
.
{
"label": "One",
"type": "shell",
"command": "echo Hello ",
"dependsOrder": "sequence",
"dependsOn":[
"Two",
"Three"
]
}
Skip code execution as you jump to a new location.
Lets you keep debugging output to one line.
New modern icons across all of VS Code.
Add to string arrays directly from the Settings editor.
Quickly jump to file locations in the File Explorer.
See whitespace characters just for selected text.
{
"editor.renderWhitespace": "selection"
}
Replace text without losing letter casing.
More intuitive bottom-up search order for the terminal.
Previously searching within the terminal would start at the top of the terminal's viewport and search downwards. When it reached the bottom, it would wrap to the top. The new behavior aligns with several other terminal emulators and starts from the bottom of the buffer and searches upwards, leading to a much less disorienting experience.
VS Code now checks more locations for SCSS files.
New step-by-step tutorials for working over SSH and in WSL.
Visual Studio Code August 2019
Keep letter casing across multi-file search/replace.
Checks min, max, enum values, and glob patterns.
Keep your cursor centered in the editor.
Easily copy or restore deleted content.
Quickly jump to the end of a file.
Links to MDN documentation directly from IntelliSense.
Find overlooked awaits in asynchronous code.
Debugger breaks when tracked values change.
Official product icons available for extension authors.
Both for the Remote WSL and Containers extensions.
Visual Studio Code September 2019
See selection regions in the minimap overview.
Quickly expand and collapse regions with Toggle Fold.
You can now expand and collapse a folding region with the Toggle Fold (Ctrl+K Ctrl+L) command.
Display pending changes in either a list or new tree view.
Add keyboard shortcuts for specific folders.
Links to ARIA documentation directly from IntelliSense.
Semicolons added as you enter CSS properties.
Color variable completions display color swatch.
View possible inline breakpoints directly in your source code.
Stay in context with debug actions on hover.
Explorer now displays WSL distros and repository containers.
Release version 1.30
Visual Studio Code November 2018
Multiline search input
Type
Shift+Enter
in the search box to insert a newline, and the search box will grow to show your full multiline query.Custom title and menu bar on Linux by default
Scrolling menus
Menu bar overflow menu
References view
Snippet comment variables
Declaration versus definition
Highlighting of Markdown elements in JSDoc comments
Debugging from the Process Explorer