Visual Studio 2019 for Mac version 8.1 Preview 1

Cody Beyer

Cody

Today, we are proud to announce the next major update for Visual Studio for Mac: Visual Studio 2019 for Mac version 8.1 PreviewIn this update, we are offering our new C# editor as the default experience in addition to introducing support for .NET Core 3 Preview and new project templates. We’ve also been working to improve performance and reliability across the board, based on feedback that we’ve heard from the Visual Studio for Mac community.  

You can install this update via the Updater inside Visual Studio for Mac by switching your channel from Stable to Preview. If at any time you would like to switch back to the Stable channel, you can do that via the Updater as well. We always welcome your feedback, so please make sure to share your thoughts with us via Developer Community or from the built-in Report a Problem tool in the IDE. 

A new default editor in VS for Mac: More speed, more reliability  

When we released Visual Studio 2019 for Mac in April, we offered an entirely new C# editor as an opt-in experienceWe wanted to ensure that the new editor meets our standards of performance and reliability before promoting it to the default editor within Visual Studio 2019 for Mac. Additionally, we wanted to ensure no major gaps existed in behavior or functionality between the legacy editor and the new editor. After a lot of testing and many conversations with our community, we believe the editor is now at a point where it can be the default experience.  

As the new editor shares all of its non-UI code with the editor in Visual Studio on Windows, we can now leverage the power of Visual Studio to provide a fast, fluent, and reliable experienceNumerous new features and capabilities were introduced in the new editor in Visual Studio 2019 for Mac, including: 

  • Improved typing responsiveness and scrolling speeds for a more fluid editing experience 
  • Modern editor features such as Multi-caret editing, Word Wrap, and Right-to-Left support 
  • Improved support for accented characters via macOS native input methods
  • An improved IntelliSense UI with faster performance 
  • New quick-action analyzers, shared with Visual Studio on Windows 

Visual Studio for Mac Editor

In this update, we have re-introduced many of your favorite and most requested features of the old editor, such as support for code snippets as well as various formatting and navigation tools, error highlights within the scrollbar and source control tabs. We have also made many improvements to the overall look and feel of the new editor, including refreshed tooltips and signature view adornments. Before we release the final version of Visual Studio 2019 for Mac 8.1, we also plan to add in-line lightbulbs adornments and Format Selection commands. 

Visual Studio for Mac - Editor Snippets

.NET Core 3 Preview Support

Visual Studio 2019 for Mac 8.1 now offers full support of the .NET Core 3 Preview SDK, which means you can get started with the latest and greatest that .NET Core has to offer! You can learn more about the new features and fixes offered in .NET Core 3 through the What’s New documentation.

To get started on using .NET Core 3 Preview within Visual Studio 2019 for Mac, you must first download and install the latest Preview SDK. To do this, download the macOS installer from the .NET Core Download page and run the installer to add .NET Core 3 support to your system.

Once .NET Core 3 Preview is installed, you can create a new .NET Core 3 project simply by using the .NET Core template and selecting .NET Core 3 at the SDK Selection page.

.NET Core 3.0 Selection

As support for .NET Core 3 is still in preview, not all features are currently in place. One such example is support for C# 8, which will be available in a future update of Visual Studio 2019 for Mac.

New ASP.NET Core templates to help build complex web applications

When building web applications today, it’s common to work with a rich client-side JavaScript library like Angular or React. In this release, we’re including four new templates in Visual Studio for Mac, the same templates provided by the dotnet command line tool and Visual Studio on Windows:

These templates provide a starting point with a sample client-side application written using each of the technologies above. The application consumes data provided by an ASP.NET Core API backend. The project files generated by these templates are setup to build the TypeScript and JavaScript assets when you run your application, so that you can stay focused on building your app without leaving the IDE.

We’ve also added a new Razor Class Library template to make it easier to package and reuse your Razor views, pages, controllers, page models, view components, and data models. You can learn more about this in the ASP.NET Core Razor Pages documentation.

Performance and reliability

As we talk to our user community, one theme is clear: performance and reliability need to continue to improve. We have worked to ensure that each release is more reliable and better performing than the last. In this release, we have worked to optimize NuGet restore time, reduce the time it takes to load an existing project, resolved an issue where Visual Studio for Mac would hang on saving files when working with Unity projects, and improved the reliability of the new editor. We have also fixed several crashes and hangs, all of which can be reviewed in our Release Notes.

Please share your thoughts

We encourage you to download and try out the release today! Our aim is to make .NET development on macOS a breeze, and this release is our next step on this journey. Check out our recently updated product roadmap to see what we’re working on next and share your feedback and suggestions! We strive to be 100% driven by customer feedback and we love to hear from you.

Cody Beyer
Cody Beyer

Program Manager, Visual Studio for Mac

Follow Cody   

6 Comments
Avatar
Waste Treatment 2019-05-07 10:27:17
I would like to see tighter QA controls on VS for Mac releases. There are a couple significant issues being tracked for the 8.0.5 build 9 version and looks like some new ones popped up today.
Avatar
Mickey Keenan 2019-05-08 07:57:52
Code Folding....  still disabled, would be really useful with large files.  
Avatar
damian mehers 2019-05-10 08:19:43
Is the error when adding a watch app to an iOS project, where the watch project has two references to the extension project fixed?
Avatar
anonymous 2019-05-12 06:00:43
This comment has been deleted.