قالب وردپرس درنا توس
Home https://server7.kproxy.com/servlet/redirect.srv/sruj/smyrwpoii/p2/ Technology https://server7.kproxy.com/servlet/redirect.srv/sruj/smyrwpoii/p2/ Visual Studio 2019 goes live with C ++, Python shared editing

Visual Studio 2019 goes live with C ++, Python shared editing



  OK, so Visual Studio always looks like Visual Studio. But the eagle's eye will show a few differences. There is the menu in the title title at the top. There is the message
Enlarge / OK, so Visual Studio always looks like Visual Studio. But the eagle's eye will show a few differences. There is the menu in the title title at the top. There is a message "No issues found" in the status bar that shows that background code analysis has not encountered any issues with my code. At the bottom left, to the left of the "Ready" text, is the new background task status indicator that provides more information on things like scanning code to build IntelliSense information. There is a (not visible) GitHub tab in the Solution Explorer panel used for the new Pull Request integration. And of course there is the Live Share button at the top right.

A new version of Microsoft's integrated development environment (IDE) is running live today with the release of Visual Studio 2019 and its cousin Visual Studio 2019 for Mac.

Visual Studio is a bit odd and it would be reasonable for developers to ask why this branded release even exists. Visual Studio 2017 has received nine point releases and numerous patch releases since its release two years ago. Each of these releases has brought a mix of new features and bug fixes, and for Visual Studio users, the experience is comparable to e.g. Google Chrome, where each new version brings a constant flow of incrementally enhanced features and fixes. [19659005] Live Share C ++ encoding with Visual Studio 2019 on the left, Visual Studio Code on the right. "src =" https://cdn.arstechnica.net/wp-content/uploads/2019/04/live-share-cxx-640×275.png "width =" 640 "height =" 275 "srcset =" https: / /cdn.arstechnica.net/wp-content/uploads/2019/04/live-share-cxx.png 2x "/>

Enlarge / Live Share C ++ coding with Visual Studio 2019 left, Visual Studio Code on

Microsoft

This iterative incremental model is actually the one that Microsoft pushes (and uses) for services such as Azure DevOps and is comparable to the continuing development We look at Office 365, which is updated monthly and the free and open source Visual Studio Code, which also has monthly iterations, with this development process in place, wondering why we would have problems with "Visual Studio 2019" at all; let's just have "Visual Studio" and keep updating it forever.

Reasons to stick to the old way to release? licenses, and a new main version provides an easy way to make certain break changes, such as To drop support for old platforms or make some major changes to the C ++ library. For that purpose, Visual Studio 2019 (finally) drops Windows XP support for C ++ projects; you will need to use the old Visual Studio 2017 C ++ compiler to continue targeting the much-obsolete operating system. A new larger version is also a good time to make larger user interface changes, and some of the first things that will be noticed when installing Visual Studio 2019 are the new welcome screen, a new project creation interface, and a new one. title bar that incorporates both the program's menu and a new search function to find functions within the IDE.

  Visual Studio 2019 for Windows Welcome Screen.

Visual Studio 2019 for Windows Welcome Screen.

Microsoft

The new version brings a number of pieces that have not been added to 2017. The one I am most excited about is the general availability of Live Share. Live Share is a collaboration editing system that works in both Visual Studio and Visual Studio Code, allowing developers to code and fail together while still viewing their own favorite editing setup. The original Live Share preview, back in November 2017, only supported JavaScript (and Microsoft's very successful TypeScript variant) and C #.

In response to user demand, C ++ and Python have been added to the Live Share experience. Python is still something of a novelty in Visual Studio; scripting language support was added to Visual Studio 2017 in one of its point releases. Visual Studio 2019 expands this with support for multiple Python runtime environments, making it easier to switch between interpreters and versions, one more capable of debugging, and smarter IntelliSense completion.

C ++ developers will benefit from a compiler with a better optimizer, better support for projects built using CMake and partial support for the enforcement of the C ++ lifetime profile, a set of static compilation rules that allow the compiler to detect and warn about unsafe use of pointers and iterators.

With GitHub now part of Microsoft, Visual Studio is recording more GitHub integration; 2019 adds support for GitHub's Pull Request model to manage the integration of patches into a codebase directly within the IDE. IDE now also supports Git's "stash" feature, which allows a set of changes to be temporarily saved so you can switch to another branch without committing them or risking losing them.

As with any new Visual Studio release, there is also the usual selection of updated compilers and language versions, such as. an example of C # 8.0 features, new refactorings, etc.

Visual Studio for Mac, derived from Xamarin IDE, which Microsoft acquired when purchasing the cross platform. NET company is also updated today. The first iteration of Visual Studio for Mac was basically a rebrand of the Xamarin Studio app-updated to include Microsoft's C # compiler and .NET libraries instead of Xamarin's clones – with some real relationship with "real" Visual Studio.

Microsoft seems to be making a real effort to bring the products together in the areas that make sense. Visual Studio 2019 for Mac provides an example of a new text editor built on the same engine as that of Visual Studio for Windows, with a built-in macOS user interface and features. This means that both Visual Studios have very similar options in things like IntelliSense, code completion and quick fixes. The new editor is not enabled by default, but it can be enabled for C # and XAML, with multiple languages ​​scheduled when stabilized. The welcome screen also looks a lot like the new Windows counterpart.

  Visual Studio 2019 for Mac Welcome Screen.
Enlarge / Visual Studio 2019 for Mac Welcome Screen.

Microsoft

Microsoft is also gathering experience in other areas; Unity debugger is now the same between Mac and Windows, and Microsoft intends to bring parts of the Windows Xamarin Forms XAML experience to Mac in a future update.

In addition, there are numerous performance and stability enhancements and plenty of accessibility enhancements to help those using the aids.

With both Visual Studio for Windows and Mac, Microsoft has emphasized the importance of user feedback in the development process. Both point releases and major updates are governed by user feedback, with, for example, the new Python and Live Share features that come directly to users' requests. The regular stream of point releases enables Microsoft to put functionality ahead of users much faster than it could with only major updates, and that functionality can be reshaped and expanded in response to feedback. Compared to the old days of Visual Studio, when you only want to send errors on the Connect site to make them disappear forever, the experience today is a welcome and refreshing improvement.


Source link