Open rogerxu opened 1 year ago
Visual Studio Code August 2022
Easier transition between text and merge editors.
A file that has a conflict will now automatically show an Open in Merge Editor button to transition between the text and merge editors.
To help display embedded audio and video in notebooks and webviews.
Pressing F2 selects filename, whole name, or file extension.
Sticky scroll shows the current scope at the top of the view port. The feature can be enabled through the settings with editor.stickyScroll.enabled
.
editor.stickyScroll.maxLineCount
) setting. The default maximum is 5 lines.Ctrl/Cmd + Click
in the sticky scroll, to navigate to a definition.Quickly find the Code Action you're looking for.
When the editor.suggest.matchOnWordStartOnly
setting is disabled, filtering takes any match into account.
Shell integration for Fish and Git Bash, new smooth scrolling.
"terminal.integrated.smoothScrolling": true
Live Preview now supports multi-root web projects.
Visual Studio Code September 2022
Hide/show tool bar actions.
For files with conflicts, users can now select Resolve in Merge Editor to open the 3-way merge editor:
VS Code now supports previewing some audio and video file formats:
The following audio formats are currently supported:
And the following video formats can be previewed:
Scrolling speed tuned to cursor location.
The editor autoscrolls at a more manageable speed of about one viewport per second when the mouse is close to the edges, and faster when the mouse is further from the editor, independent of the FPS.
Highlights extensions with updates or needing attention.
VS Code now shows extensions updated during the last 7 days in a Recently Updated section of Updates in the Extensions view.
VS Code now shows extensions requiring attention sorted to the top of the default Installed section of the Extensions view. This includes extensions that have a pending update or have been updated or disabled and require VS Code to reload.
The badge on the Extensions icon in the Activity Bar now shows the number of extensions requiring attention.
Review search results in either list or tree view.
Detects and displays nested Git submodules.
Suggestions to correct command typos and set an upstream remote.
Pin tasks to the top of the Run Task dropdown for quick access.
Automatically check header, file, and image links.
Set "markdown.validate.enabled": true
. VS Code will now analyze Markdown links to headers, images, and other local files. Invalid links will be reported as either warnings or errors.
Improved login workflow no longer requires PAT.
Easily add and share functionality for development containers.
Connect with other VS Code extension authors.
Visual Studio Code October 2022
Quickly set folders to include/exclude in the tree view.
Displays commonly used modes before recent files list.
Access Combination option to auto merge conflicts.
File and image links updated on rename/move.
Task completed or failed, Terminal Quick Fix available.
Create new branch when committing to protected branch.
Create new Dev Containers based on existing templates.
Visual Studio Code November 2022
Decide which files scroll into view in the Explorer.
Simplify the editor UI by toggling state badges.
Sounds for cell run results, added or removed lines.
Quickly revert or reapply merge conflict actions.
git blame
functionality now work in the incoming, current, and base editors.Prevent Git operations on folders not owned by you.
Easily create CPU profiles for viewing in VS Code.
The resulting .cpuprofile
file will be saved in your workspace folder, and can be opened and viewed using VS Code's built-in profile viewer.
JavaScript and TypeScript now support running Go to Definition on the return
keyword to quickly jump to the top of the function being returned from.
Create a connection to any machine, without needing SSH.
To enable remote tunnel access, you can either:
code tunnel
from a machine with VS Code installed and on the PATH../code tunnel
.Avoid stepping into Python library code.
Request a GPU when creating a Dev Container.
Visual Studio Code January 2023
Terminal screen reader mode, new keyboard shortcuts.
Create and share profiles to configure extensions, settings, keyboard shortcuts, UI state, tasks, and user snippets.
The following image demonstrates a folder opened with a Work profile that is customized for a work setup.
You can also export and import profiles to share them with your colleagues, friends, or students to help them get started with VS Code.
Drag layout corners to resize multiple views at once.
When working the custom Customize Layout command either via triggering the command or using the layout controls in the custom title bar, you can Restore Defaults using the revert arrow button in the top right of the layout control.
The Find control inside tree views now supports history navigation. You can use the Up/Down arrow keys to navigate through the history of your previous searches.
The files.watcherExclude
setting supports glob patterns for powerful exclusion rules of the file watcher. However, glob patterns had not been supported natively by the library used for file watching. In this milestone, we contributed support for glob patterns for exclusions for more efficient resource usage, especially on Linux.
The Keyboard Shortcuts editor now shows the extension that contributes a keybinding in the Source column. You can select the extension name to open the extension's details page.
Keyboard shortcuts editor now supports searching for keybindings with chords. For example, "Ctrl+K"
will also show all keybindings with Ctrl+K
as the first chord.
Detect links containing spaces, brackets, line and column formats.
The Open Detected Link command (⇧⌘O) is the keyboard-accessible way of opening terminal links. The command opens a Quick Pick with all available links in the terminal's viewport.
Go to Recent Directory (⌘G) opens a Quick Pick with recent directories, picked up by shell integration. It supports pinning and fuzzy matching.
⌘⌥G is the new way to send ⌘G directly to the shell.
Run Recent Command (⌃⌥R) opens a Quick Pick with recent commands that have been run, modeled after most shell's reverse index search (⌃R) but in a more accessible and more functional package. It supports pinning and fuzzy matching.
Detection of the Cygwin shell on Windows is back in a safer form and also detect more shell profiles, including Cygwin, Cmder and MSYS2. To mitigate the security problem, before one of these profiles is used, it must be configured via the Select Default Profile command:
When selected, a warning will appear before being added to your settings.json
file and acting like a regular profile:
The Run Selected Text In Active Terminal command will now run the text using "bracketed paste mode" in supporting shells, so a multi-line selection will be treated as a single input, rather than multiple commands. This makes running actual scripts much more intuitive with fewer errors occurring.
Before:
After:
Stash staged changes and delete remote tags from within VS Code.
Git 2.35 introduced a new --staged
mode for the git stash
command. This new mode allows you to easily stash only the changes that are staged. If you have a version of Git that supports this new mode, you can take advantage of it using the new Git: Stash Staged command.
VS Code already had support for deleting a local tag using the Git: Delete Tag command. This milestone we enabled the deletion of remote tags using the new Git: Delete Remote Tag command.
The 'breakpoint predictor' used for Node.js debugging has been rewritten and improved to dramatically increase speed for large projects.
The JavaScript React
language mode has been renamed to JavaScript JSX
to reflect that JSX syntax is used by more than just React. TypeScript React
has also been renamed to TypeScript JSX
.
Note that only the language names shown in the UI have been changed. The internal language IDs (javascriptreact
and typescriptreact
) remain unchanged for compatibility reasons.
Published extensions now code signed by default.
Learn about AI-powered completions with GitHub Copilot.
Try the experimental color themes and let us know what you think.
Visual Studio Code February 2023
Active profile badge, quickly switch profiles via the Command Palette.
VS Code now indicates the current custom profile by showing the first two letters of the profile name as a profile badge on the Manage Activity bar icon.
You can now quickly switch between profiles with the Profiles: Switch Profile command in the Command Palette, which presents a dropdown listing your available profiles.
You can now create and customize profiles that include remote extensions and switch between them in Remote Development workspaces.
Place the Explorer in the secondary side bar or a panel.
Easily link to headers in files across your workspace.
To start, just type ##
in a Markdown link to see a list of all Markdown headers from the current workspace:
Create permalinks and HEAD links from within the editor.
Quickly fill in TypeScript/JavaScript switch statements.
Reuse existing tunnel and quickly transition from remote to desktop.
"Modern" light and dark color theme defaults.
Built-in templates for Python, Java, Data Science, and more.
You select a profile template through the Profiles > Create Profile... dropdown:
Choose how you'd like item links placed into the editor.
The drop selector control appears whenever you drop content and there is more than one possible way it could be inserted. You can open the control by clicking on it or using ⌘..
Color picker UI to insert or modify color formats. To open the color picker, select Show or Focus Standalone Color Picker from the Command Palette.
You can override the default by setting diffEditor.diffAlgorithm
to advanced
(new diff algorithm) or legacy
(default).
Fix spelling and other errors right in the input box.
Easily add video tags in Markdown files.
Use vscode.dev for repos with Git Large File Storage.
Mark specific files and folders in your workspace as read-only.
Choose how you'd like item links pasted into the editor.
Drag or paste to Markdown adds new files to your workspace.
Use "main" as the default or override via a user setting.
Simultaneously change opening and closing JSX tags.
"editor.linkedEditing": true
Release version 1.70
Visual Studio Code July 2022
Title bar customization
Hide/show menu bar, Command Center, or layout control.
You can now right-click the title bar to access a context menu that toggles the menu bar (not shown on macOS desktop), Command Center, and layout controls.
Fold selection
Create your own folded regions in the editor.
The command Create Manual Folding Ranges from Selection (⌘K+⌘,) creates a folding range from the currently selected lines and collapses it. The range is called a manual folding range and goes on top of the ranges computed by folding providers.
Manual folding ranges can be removed again with the command Remove Manual Folding Ranges (⌘K+⌘.).
Search multi-select
Select and then act on multiple search results.
Tree view search and filtering
Find and filter in tree views such as the Find Explorer.
Terminal improvements
Shell integration on by default, extended PowerShell keybindings.
Terminal Shell Integration in Visual Studio Code
Command line option
--merge
Use the 3-way merge editor as your default merge tool.
.gitconfig
Notebooks: Go to Most Recently Failed Cell
Jump directly to notebook errors.
Python Get started experience
Quickly install and configure Python within VS Code.
Sticky scroll preview
New scrolling UI shows current source code scope.
Enable sticky scroll with the
editor.experimental.stickyScroll.enabled
setting.Dev container CLI topic
Learn about the updated development container CLI.
The dev container CLI lets you build and run dev containers and is an open-source reference implementation of the Development Containers Specification