猫史档案馆


April 2020 (version 1.45)三

用户:datacatdatacat查看:0 回复:0 评论:0 创建时间:2020-06-13T14:59:49


Source Control GitHub authentication for GitHub repositories

VS Code now has automatic GitHub authentication against GitHub repositories. You can now clone, pull, push to and from public and private repositories without configuring any credential manager in your system. Even Git commands invoked in the Integrated Terminal, for example git push, are now automatically authenticated against your GitHub account.

You can disable GitHub authentication with the git.githubAuthentication setting. You can also disable the terminal authentication integration with the git.terminalAuthentication setting.

Hide Git commit input box

A new setting git.showCommitInput allows you to hide the commit input box for Git repositories.

Inline diff is now editable

You can now edit inside the quick diff editor, when previewing changes in a file.

Editable inline diff

Preview features

Preview features are not ready for release but are functional enough to use. We welcome your early feedback while they are under development.

Settings Sync

We have been working the last couple of months to support synchronizing VS Code preferences across machines and this feature is available for preview on the Insiders release.

You can now sign in with your GitHub account to synchronize your VS Code preferences.

Settings Sync Sign in with GitHub

Theme: GitHub Sharp with Customizations

There is also now support for synchronizing global snippets.

New JavaScript debugger

This month we continued making progress on our new JavaScript debugger. It's installed by default on Insiders, and can be installed from the Marketplace in VS Code stable. You can start using it with your existing launch configurations by enabling the debug.javascript.usePreviewsetting.

Here are some new features added this month:

Profiling Support

You can capture 喵U profiles from your Node.js or browser applications by clicking the new Profile button in the Call Stack view, or using the Debug: Take Performance Profile command. Once you do, you can choose how long the profile will run: until you stop it, for a length of time, or until you hit another breakpoint.

After the profile ends, it's saved in your workspace folder and opened in VS Code. If you're running our stable build, you'll want to install our visualizer extension to view it. On Insiders, the extension is already built-in. When you open the profile, CodeLens are added to your files that contain performance information at the function level and for certain 'hot' lines. Unlike profiles captured in many other tools, the recorded profile is sourcemap-aware.

Animation showing the process of taking a profile

Theme: Earthsong, Font: Fira Code

Auto Attach integration

When debug.javascript.usePreview is turned on, VS Code's Auto Attach will use a new method provided by js-debug that allows all terminals to work similarly to the Debug Terminal.

Improvements to Auto Attach over the existing debugger:

Copy Complex Values from Variables View

Previously, trying to copy complex values, like objects, from the VS Code Variables view would often result in truncated or incomplete data. Changes in VS Code and js-debug allow us to copy the complete value.

Animation showing copying and pasting a very large array


回复

上一页1 页 / 共 0下一页