Visual Studio 2019 Có Gì Mới

With Visual Studio 2019, you"ll get best-in-class tools & services for any developer, any app, và any platform. Whether you"re using Visual Studio for the first time or you"ve been using it for years, there"s a lot to like in our current version!

Here"s a high-level recap of what"s new, all-up:

For a complete danh mục of everything that"s new in this version, see the release notes. And, for more info about what"s new in the 16.11 release, see the Visual Studio 2019 v16.11 is available now blog post.

Bạn đang xem: Visual studio 2019 có gì mới

Develop

View the following video clip to learn more about how you can save time with new features. Video length: 3.00 minutes


Improved search

Formerly known as Quick Launch, our new search experience is faster and more effective. Now, tìm kiếm results appear dynamically as you type. And, tìm kiếm results can often include keyboard shortcuts for commands, so that you can memorize them for future use.

*

The new fuzzy search logic will find anything you need, regardless of typos. So, whether you"re looking for commands, settings, documentation, or other useful things, the new search feature makes it easier khổng lồ find what you"re looking for.

For more information, see Use Visual Studio search.

Intelligent tìm kiếm service

New in 16.9: By using cloud-powered technology, artificial intelligence, và machine learning, we"ve improved our tìm kiếm results. Now, not only does tìm kiếm in Visual Studio produce more relevant results, but it can also help you discover product features more easily, too.

For more information, see the Intelligent Visual Studio tìm kiếm service blog post.

Refactorings

There are lots of new và highly useful refactorings in C# that make it easier to lớn organize your code. They show up as suggestions in the light bulb & include actions such as moving members khổng lồ interface or base class, adjusting namespaces to match folder structure, convert foreach-loops to lớn Linq queries, and more.

*

Simply invoke the refactorings by pressing Ctrl+. và selecting the kích hoạt you want to take.

IntelliCode

Visual Studio IntelliCode enhances your software development efforts by using artificial intelligence (AI). IntelliCode trains across 2,000 open-source projects on GitHub—each with over 100 stars—to generate its recommendations.

*

Here are a few ways that Visual Studio IntelliCode can help enhance your productivity:

Deliver context-aware code completionsGuide developers khổng lồ adhere to the patterns & styles of their teamFind difficult-to-catch code issuesFocus code nhận xét by drawing attention to lớn areas that really matter

We initially supported only C# when we first previewed the IntelliCode as an extension for Visual Studio. Now, new in 16.1, we"ve added support for C# & XAML "in-the-box". (Support for C++ and TypeScript/JavaScript are still in preview, however.)

And if you"re using C#, we"ve also added the ability lớn train a custom mã sản phẩm on your own code.

For more information about IntelliCode, see the Announcing the general availability of IntelliCode plus a sneak peek và Code more, scroll less with Visual Studio IntelliCode blog posts.

Code cleanup

Paired with a new document health indicator is a new code cleanup command. You can use this new command khổng lồ identify & then fix both warnings & suggestions with a single kích hoạt (or click of a button).

The cleanup will format the code và apply any code fixes as suggested by the current settings & .editorconfig files.

*

You can also save collections of fixers as a profile. For example, if you have a small phối of targeted fixers that you apply frequently while you code, & then you have another comprehensive mix of fixers to apply before a code review, you can configure profiles to lớn address these different tasks.

*

Per-monitor aware (PMA) rendering

If you use monitors that are configured with different display scale factors, or connect remotely lớn a machine with display scale factors that are different from your main device, you might notice that Visual Studio looks blurry or renders at the wrong scale.

With the release of Visual Studio 2019, we"re making Visual Studio a per-monitor aware (PMA) application. Now, Visual Studio renders correctly regardless of the display scale factors you use.

*

For more information, see the Better multi-monitor experience with Visual Studio 2019 blog post.

Test Explorer

New in 16.2: We"ve updated demo Explorer lớn provide better handling of large kiểm tra sets, easier filtering, more discoverable commands, tabbed playlist views, & customizable columns that let you fine-tune what kiểm tra information is displayed.

*

.NET Core

New in 16.3: We"ve included tư vấn for .NET vi xử lý core 3.0. Cross-platform, mở cửa source—and fully supported by annexsport.store.

For more information, see the Announcing .NET core 3.0 blog post.

Collaborate

View the following video to learn more about how you can team up lớn solve issues. Video length: 4.22 minutes


Git-first workflow

Something you"ll notice when you xuất hiện Visual Studio 2019 is its new start window.

Xem thêm: Bật Mí Cách Gõ 10 Ngón Trên Laptop, Cách Gõ 10 Ngón Nhanh Và Chuẩn

*

The start window presents you with several options khổng lồ get you to lớn code quickly. We"ve placed the option to lớn clone or kiểm tra out code from a repo, first.

*

The start window also includes options to xuất hiện a project or solution, xuất hiện a local folder, or create a new project.

For more information, see the Get lớn code: How we designed the new Visual Studio start window blog post.

Git productivity

New in 16.8: Git is now the default version control experience in Visual Studio 2019. We have built out the feature set & iterated on it based on your feedback during the past two releases. The new experience has now been turned on by mặc định for everyone. From the new Git menu, you can clone, create, or xuất hiện repositories. Use the integrated Git tool windows to lớn commit và push changes to lớn your code, manage branches, stay up lớn date with your remote repositories, and resolve merge conflicts.

For more information, see the Git experience in Visual Studio page.

Live Share

Visual Studio Live cốt truyện is a developer service that allows you to tóm tắt a codebase và its context with a teammate và get instant bidirectional collaboration directly from within Visual Studio. With Live Share, a teammate can read, navigate, edit, và debug a project that you"ve shared with them, and do so seamlessly và securely.

And with Visual Studio 2019, this service is installed by default.

*

For more information, see the Visual Studio Live nói qua for real-time code review and interactive education blog post và the Live nội dung now included with Visual Studio 2019 blog post.

Integrated code reviews

We"re introducing a new extension that you can download to use with Visual Studio 2019. With this new extension, you can review, run, & even debug pull requests from your team without leaving Visual Studio. We support code in both GitHub & Azure DevOps repositories.

*

For more information, see the Code reviews using the Visual Studio Pull Requests extension blog post.

Debug

View the following video to learn more about how you can zero in with precise targeting while you debug. Video length: 3.54 minutes


Performance gains

We"ve taken the once-exclusive C++ data breakpoints và adapted them for .NET bộ vi xử lý core applications.

*

So whether you"re coding in C++ or .NET Core, data breakpoints can be a good alternative to lớn just placing regular breakpoints. Data breakpoints are also great for scenarios such as finding where a global object is being modified or being added or removed from a list.

And, if you"re a C++ developer who develops large applications, Visual Studio 2019 has made symbols out of proc, which allows you khổng lồ debug those applications without experiencing memory-related issues.

Search while debugging

You"ve probably been there before, looking in the Watch window for a string amongst a set of values. In Visual Studio 2019, we"ve added search in the Watch, Locals, & Autos windows to help you find the objects và values you"re looking for.

*

You can also format how a value is displayed within the Watch, Locals, & Autos windows. Select (by double-clicking) one of the items in any of the windows and địa chỉ a comma (",") to lớn access the drop-down menu of possible format specifiers, each of which includes a mô tả tìm kiếm of its intended effect.

*

For more information, see the Enhanced in Visual Studio 2019: search for Objects & Properties in the Watch, Autos, and Locals Windows blog post.

Snapshot Debugger

Get a snapshot of your app"s execution in the cloud to see exactly what"s happening. (This feature is available in Visual Studio Enterprise, only.)

*

We"ve added support for targeting ASP.NET (Core và desktop) applications that run on an Azure VM. And, we"ve added support for applications that run in an Azure Kubernetes Service. The Snapshot Debugger can help you dramatically reduce the time it takes lớn resolve issues that occur in production environments.

For more information, see the Debug live ASP.NET Azure apps using the Snapshot Debugger page, & the Introducing Time Travel Debugging for Visual Studio Enterprise 2019 blog post.

annexsport.store Edge Insider support

New in 16.2: You can set a breakpoint in a JavaScript application and start a debug session by using the annexsport.store Edge Insider browser. When you vì so, Visual Studio opens a new browser window with debugging enabled, which you can then use khổng lồ step through application JavaScript within Visual Studio.

*

Pinnable Properties tool

New in 16.4: Now, it"s easier khổng lồ identify objects by their properties while debugging with the new Pinnable Properties tool. Just hover the cursor over a property you want to lớn display in the debugger window of the Watch, Autos, and Locals windows, select the pin sạc icon, và immediately see the information you"re looking for at the top of the window!

*

For more information, see the Pinnable Properties: Debug và Display Managed Objects YOUR Way blog post.

What"s next

We update Visual Studio often with new features that can make your development experience even better. To lớn learn more about our latest innovations, check out the Visual Studio Blog. For a record of what we"ve released in preview to lớn date, take a look at the Preview Release Notes. & for a danh sách of what we"re planning to release next, see the Visual Studio Roadmap.

Meanwhile, here"s what"s currently in the works:

Give us feedback

Why send feedback khổng lồ the Visual Studio team? Because we take customer feedback seriously. It drives much of what we do.