Open rogerxu opened 2 years ago
Visual Studio Code November 2019
Single child folders collapsed by default.
Setting explorer.compactFolders
controls this behavior. By default, this setting is turned on.
You can now edit both files in a difference view.
Global search results update while you type.
Filter by problem type and limit output to the active file.
Quickly locate problems and changes in your file.
Set preferred contrast ratio for increased visibility.
Automatic multi-cursor in matching HTML tags. This behavior is controlled by the setting html.mirrorCursorOnMatchingTag
, which is on by default.
You can now use F2 to rename the opening/closing tag pairs in HTML.
Use the ?.
operator to simplify working with nested structures.
Quickly extract an inline type to a TypeScript interface.
The new javascript.format.semicolons
and typescript.format.semicolons
formatting settings let you control how the formatter handles semicolons in JavaScript and TypeScript files.
Valid semicolon format settings values are:
ignore
- Does not add or remove semicolons (default).insert
- Inserts semicolons at statement ends.remove
- Remove unnecessary semicolons.Better support for opening repositories in Docker containers.
Visual Studio Code January 2020
See pending renames in a diff view and easily accept or reject changes.
When renaming, you can confirm a new name via Shift+Enter and see the Refactor Preview panel.
Set the maximum number of editors open at one time.
workbench.editor.limit.enabled
: Enable this feature (off by default).workbench.editor.limit.perEditorGroup
: Whether to apply the limit per editor group or across all groups.workbench.editor.limit.value
: The maximum number of open editors (10 by default).Untitled editors will use the content of the first line of the document for the editor title and include the generic name as the description.
VS Code has a setting, files.defaultLanguage
, to configure a default language for untitled files. With this release, the setting can take a new value {activeEditorLanguage}
that will dynamically use the language mode of the currently active editor instead of a fixed default.
Move the panel (Output, Terminal) to the left, right, or below the editor.
workbench.action.positionPanelLeft
)workbench.action.positionPanelRight
)workbench.action.positionPanelBottom
)Windows and macOS now support light and dark color schemes. There is a new setting, window.autoDetectColorScheme
, that instructs VS Code to listen to changes to the OS's color scheme and switch to a matching theme accordingly.
workbench.preferredLightColorTheme
workbench.preferredDarkColorTheme
Quickly find folded regions with new background highlight.
Debug Console input supports syntax coloring, indentation, auto closing of quotes, and other language features.
VS Code displays an arrow only next to the input expression.
The Debug Console input box now automatically suggests previously entered entries.
debug.console.closeOnEnd
that controls whether the Debug Console should automatically close after debugging has stopped.
console.table(...)
When debugging, there is a number decoration on the Debug icon to show the count of active debug sessions.
Tasks declared in tasks.json
are now supported at the User Settings level.
Run the Tasks: Open User Tasks command to create user level tasks and these tasks will be available across all folders and workspaces. Only the shell
and process
task types are supported here.
Java support for Data Breakpoints and Call Hierarchy view.
New Forwarded Ports view for mapping SSH and Containers ports.
Learn how to create and deploy Docker containers.
First looks at the Timeline view, Search editor, semantic highlighting, and more.
Visual Studio Code February 2020
Search and save your global search results in a full-sized editor.
Easily change the editor layout by dragging sash corners.
VS Code now supports the Orca screen reader.
New options to fit or fill the minimap vertical layout.
There is a new setting, editor.minimap.size
, which controls how the minimap uses vertical space:
proportional
(the default), each line gets a certain amount of vertical space in the minimap, depending on editor.minimap.scale
. For example, on a high-DPI monitor, with a configured scale of 1
(the default), each line gets 4 px in the minimap. That means that for large files, the minimap will also scroll, as the current file is scrolled.fit
, the height of the minimap is limited to never be larger than the editor height. So if a file has many lines, they will be sampled and only a subset will be rendered in the minimap, such that there is no need for the minimap to scroll.fill
, the height of the minimap is always the editor height. For large files, this is also achieved by sampling lines, but for small files, this is achieved by reserving more vertical space for each line (stretching the lines).Column mode toggle lets you quickly select blocks of text.
There is a new global toggle, accessible via the Selection > Column Selection Mode menu item. Once this mode is entered, as indicated in the Status bar, the mouse gestures and the arrow keys will create a column selection.
The default value of the editor.renderWhitespace
setting has changed from none
to selection
.
By default, Go to Definition via mouse opens a separate editor but with the new setting editor.definitionLinkOpensInPeek
as true
, the gesture will open in a Peek view.
There's a new setting Editor: Unfold On Click After End of Line (editor.unfoldOnClickAfterEndOfLine
) that controls what happens when you click in the empty space to the right of a folded line (after the ...
). When set to true, you can click anywhere after the text on the folded line and not worry about exactly selecting the ellipses (...
).
The existing editor.rulers
setting has been extended to allow defining rulers that have custom colors.
"editor.rulers": [
{ "column": 80, "color": "#ffff00" },
{ "column": 120, "color": "#ff0000" },
],
Convert concatenations to JavaScript/TypeScript template strings.
Review all calls to or from a function and drill into callers of callers.
Support for Windows and macOS SSH hosts, SSH connection sharing.
Settings Sync lets you share settings and keybindings across machines.
Easier diff view navigation, clearer role designations for UI controls.
See time-series events like Git commit history from within VS Code.
Navigate smoothly from files to symbols, filter files by folder name.
You can now continue to navigate to the symbols of a file result simply by typing @
. For the file that is currently selected, all symbols will appear and the editor will open in the background to reveal the active symbol. You can group symbols by category by following @
with :
.
You can narrow down results by folder if you type <file name> <folder name>
one after the other.
A new setting "search.quickOpen.history.filterSortOrder": "recency"
allows you to sort editor history by the most recently opened items, even when starting to search.
By default, Ctrl+Enter will open the file to the side in a new editor group, rather than in the current one.
Quickly see what is bundled in an Extension Pack.
A new setting workbench.editor.titleScrollbarSizing
lets you increase the size of the scroll bar for editor tabs and breadcrumbs. This makes it easier to scroll through a long list of open editors.
Undo/Redo stack preserved for reopened files.
VS Code will now keep the Undo/Redo stack of a file when the file is closed. When the file is reopened, if its contents hasn't changed since it was closed, the Undo/Redo stack will be restored.
Directly check out Pull Requests into containers, support for Kubernetes.
Settings Sync now lets you share snippets and UI state across machines.
Tutorials for creating Python containers and building Data Science models.
Focus commands to navigate the workbench, status bar accessibility.
Quickly switch files in the editor using your mouse wheel.
You can press and hold the Shift key while scrolling to get the opposite behavior (for example, you can switch editor tabs even when the workbench.editor.scrollToSwitchTabs
setting is off).
Programming language colorization is up to 3 times faster.
Change semantic token colors through your user settings.
Automatic GitHub authentication for GitHub repositories.
You can disable GitHub authentication with the git.githubAuthentication
setting. You can also disable the terminal authentication integration with the git.terminalAuthentication
setting.
You can now edit inside the quick diff editor, when previewing changes in a file.
Inline hovers and suggestions for GitHub issues and users.
Container configuration recommendations, WSL 2 support.
CPU profiling, improved Auto Attach to Node.js processes.
Enable by debug.javascript.usePreview
setting.
Learn how to use Docker Compose to work with multiple containers.
Status bar navigation, easier keyboard text selection.
Move and group views in the Side Bar and Panel.
Pin editors in the title bar to keep frequently used files handy.
Add GitHub remotes to your local repository.
Save and modify generated debug configurations.π
Auto imports will now use require for CommonJS modules.
Formatting is preserved during refactoring operations.
New Synced Machines and Data views to manage your preferences.
Run GitHub issue queries and display results in a custom Notebook.
New VS Code Insiders ARM64 builds are available.
New screen reader capabilities.
Windows on ARM is now available in stable.
Debug in the terminal, profiling support.
All repositories displayed in a single view.
View files as a tree or list, sort by name, path, or status.
Edit object settings from the Settings editor.
Edit files in hexadecimal format from within VS Code.
Improved UX and undo/redo support.
Get set up to develop in Java with VS Code on macOS.
Settings Sync is now available for preview in stable.
Simplified menu with additional filtering options.
Refactored overflow menu for Git in the Source Control view.
Debug in the browser without writing a launch configuration.
A new Debug: Open Link command has been added to quickly debug any URL. Previously, to debug a browser, you had to install the Debugger for Chrome extension and write a launch.json
config file to debug a page. This command allows you to debug any URL without needing additional launch configurations.
Choose whether to publish to a public or private GitHub repository.
New Cell menu, enhanced drag and drop.
Learn how to attach to a container and create a new dev container.
Start working with your Java source files more quickly.
Visual Studio Code August 2020
Limit formatting to just the code you've changed.
editor.formatOnSaveMode
, which makes Format on Save only apply to modified lines.There is a new option trailing
for the editor setting editor.renderWhitespace
to only show trailing whitespace.
"editor.renderWhitespace": "trailing"
Change text casing during global Search and Replace.
Display pending changes per repository.
Quickly filter and find debugging output.
"Smart" Auto Attach to Node.js scripts or test runners.
"debug.javascript.autoAttachFilter": "smart"
Convert multiple checks to a concise optional chain.
IntelliSense clearly shows APIs marked as deprecated.
/**
* @deprecated Use `getMode()` instead.
*/
export function mode() { ... }
Cell Status bar contributions, enhanced notebook diff editor.
Release version 1.40
Visual Studio Code October 2019
Fast scroll support
The terminal now supports
Alt
with mouse wheel to scroll faster based on the multiplier defined in theeditor.fastScrollSensitivity
setting.Git: Improved untracked files management
You can now manage untracked files separately by using the Git: Untracked Changes setting. Choose the separate option, if you'd like to see untracked files in a separate group in the Source Control view. Choose hidden if you'd like to never see them. The default commit action will adjust itself to this setting and will only include untracked changes in a commit when using the mixed setting value.