{"id":224468,"date":"2019-03-05T11:00:28","date_gmt":"2019-03-05T19:00:28","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=224468"},"modified":"2019-03-05T12:32:55","modified_gmt":"2019-03-05T20:32:55","slug":"visual-studio-2019-for-mac-preview-3","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2019-for-mac-preview-3\/","title":{"rendered":"Visual Studio 2019 for Mac Preview 3"},"content":{"rendered":"<p>Today, we\u2019re excited to announce the Preview 3 release of Visual Studio 2019 for Mac. This is the next release of our IDE for .NET Developers on the Mac. You can <a href=\"https:\/\/aka.ms\/vs4mac-preview\">download it now<\/a> or use the in-product update feature if you already have a previous preview release installed. To update, simply use the <b>Visual Studio &gt; Check for Updates\u2026<\/b> menu! In this release, we\u2019ve put all our energy toward addressing common issues raised by developers in our community. Your feedback is coming through loud and clear \u2013 you want a solid IDE experience that is reliable and helps you focus on getting your work done in a quick and high-quality way.<\/p>\n<p>This release focuses on improving the core of Visual Studio for Mac. Major highlights of this release include:<\/p>\n<ul>\n<li>Easily launching multiple instances of the IDE, right from the macOS dock.<\/li>\n<li>Create smaller and faster Android apps with Xamarin and optimizing the Android development loop.<\/li>\n<li>Replacing the Unity debugger with the same core engine used in Visual Studio on Windows.<\/li>\n<li>Increased stability and performance of code editor, Git tooling, .NET Core debugging, and project\/solution load improvements.<\/li>\n<li>Reliable Git support so that all file changes\/adds\/removes are tracked and committed.<\/li>\n<\/ul>\n<p>In addition to the above, we\u2019re excited to introduce a first preview of the new, fast, fluid, and performant C# editor, built on top of the same core editor as Visual Studio on Windows.<\/p>\n<p>In this post, we\u2019ll focus on a few of the top requested changes \u2013 launching multiple instances, debugging with Unity, and the new C# editor. Please, take a look at the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/releasenotes\/vs2019-mac-preview-relnotes\">release notes<\/a> to learn more about all of the changes included in this release.<\/p>\n<h3>Running multiple instances<\/h3>\n<p>To open a new window\/instance of the Visual Studio for Mac IDE, you can now right-click on the app icon in the dock and choose a the New Instance menu.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-224556 size-medium aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-multiple-instances-201x300.png\" alt=\"Multiple IDE instances\" width=\"201\" height=\"300\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-multiple-instances-201x300.png 201w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-multiple-instances.png 394w\" sizes=\"(max-width: 201px) 100vw, 201px\" \/><\/p>\n<p>When working on large projects, it can be common to open up multiple solutions at one time, either to work on different parts of a project or perhaps temporarily open up some sample code. Visual Studio for Mac has support for opening multiple solutions in one window, and we\u2019ve heard a lot of requests to support multiple windows for the IDE. Let us know how this works for you!<\/p>\n<h3>Improvements for Xamarin app development<\/h3>\n<p>Xamarin developers should find a ton of improvements in this release with generated Android apps now smaller and faster and a generally improved development loop for Android developers. Some of the new highlights include:<\/p>\n<ul>\n<li>Incremental build improvements for Android developers that decrease build times (up to 29% in some cases) and decrease deployment times by 50%.<\/li>\n<li>Designer support for Android Pie (9.0).<\/li>\n<li>New Xamarin.Forms Shell templates, providing a guided structure for setting up your apps UI.<\/li>\n<\/ul>\n<p>You can <a href=\"https:\/\/blog.xamarin.com\/whats-new-for-xamarin-developers-in-visual-studio-2019-preview-2\/\">learn more about these improvements<\/a> over on the Xamarin blog.<\/p>\n<h3>Debugging improvements for Unity developers<\/h3>\n<p>Visual Studio for Mac is the default IDE for Unity development on the Mac. Until this release, we\u2019ve had different debuggers for the Unity tools on the Mac and on Windows. With the Preview 3 release, we replaced the debugger on the Mac with the same core Unity debugger from Windows. Beyond making it easier to apply bug fixes across both products at the same time, this new debugger provides better compatibility with older versions of Unity and a better experience when debugging unsafe C# code.<\/p>\n<h3>A new C# editor \u2013 more power, more fun<\/h3>\n<p>We\u2019ve been working on this for a while, and we\u2019re delighted to announce the first preview of our new code editor experience. The new editor builds on a solid foundation provided by the Visual Studio editor on Windows, with native macOS UI added to make sure it feels right at home on a Mac. Not only does this provide an enhanced experience with smooth editing and navigation, but the new editor also has all the powerful IntelliSense\/code-completion and quick fix suggestions you expect from a Visual Studio Editor. Plus, as the editor is truly native, you get all the benefits of a modern macOS editor, including several top features such as right-to-left and bi-directional text support and full support for native macOS input sources, which makes VS for Mac an IDE that speaks your language.<\/p>\n<p>The new editor is currently a preview feature and is disabled by default for now. We need your feedback as we continue to refine and stabilize the feature! To enable the new editor, navigate to the <b>Visual Studio &gt; Preferences\u2026<\/b> menu, <b>Text Editor &gt; General<\/b> section and check the <b>Open C# files in the New Editor<\/b> checkbox. You can also toggle other experimental features like \u201cWord wrap\u201d from this dialog.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-224557 size-large aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-new-c-editor-1024x712.png\" alt=\"New C# Editor\" width=\"640\" height=\"445\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-new-c-editor-1024x712.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-new-c-editor-300x209.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-new-c-editor-768x534.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-new-c-editor.png 1338w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<h4>Smooth editing and navigation<\/h4>\n<p>Your code is the \u201cstar of the show\u201d and a good editor is all about helping you improve and refine that code. It should be smooth as you type, help you quickly iterate and refactor your code, and help increase your effectiveness when writing code over time. The new editor helps you out here by:<\/p>\n<ul>\n<li><b>Improved scrolling speeds, typing responsiveness<\/b>, and smooth animations.<\/li>\n<li>Adding support for <b>multi<\/b><b>-caret <\/b><b>editing<\/b> to help you modify multiple lines of code all at once (a <a href=\"https:\/\/developercommunity.visualstudio.com\/idea\/351843\/multiple-selection-with-the-keyboard.html\">top developer request<\/a>).<\/li>\n<li>Providing <strong>word wrapping<\/strong> to ease working with long lines of text (another common <a href=\"https:\/\/developercommunity.visualstudio.com\/idea\/411416\/word-wrap-for-visual-studio-for-mac.html\">request<\/a>).<\/li>\n<li><b>Leveraging your existing familiarity with the editor in <\/b><b>V<\/b><b>isual <\/b><b>S<\/b><b>tu<\/b><b>d<\/b><b>io<\/b> <b>on <\/b><b>Window<\/b><b>s<\/b>, if you use it today (we\u2019ll keep improving here over time).<\/li>\n<\/ul>\n<p>Here\u2019s a quick look at the new multi-caret editing support, which builds on the same support available to you in Visual Studio on Windows.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-224555 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-multi-caret-dark.png.gif\" alt=\"Multi-caret editing\" width=\"650\" height=\"515\" \/><\/p>\n<h4>Faster, more powerful IntelliSense and quick fix suggestions<\/h4>\n<p>A long-standing favorite of developers using Visual Studio, IntelliSense (auto code completions) has received a new look in this release of the editor, as well as numerous changes to help write your best code. Some of the big improvements include:<\/p>\n<ul>\n<li><b>New <\/b><b>quick-action <\/b><b>analyzers<\/b> that mirror the same great choices in Visual Studio on Windows. (Learn more about these Fixes and Refactorings, in a <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/visual-studio-2019-net-productivity\/\">previous blog post<\/a> from Kendra Havens).<\/li>\n<li>An <b>i<\/b><b>mproved<\/b><b> IntelliSense UI<\/b> with faster performance.<\/li>\n<li>Shared Roslyn and editor backend with Visual Studio on Windows, which gives you the same well tested and trusted core experience across platforms.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-224562\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/QuickAction-Dark-Smoothing.gif\" alt=\"\" width=\"650\" height=\"466\" \/><\/p>\n<h4>An IDE that speaks your language<\/h4>\n<p>Visual Studio for Mac is an IDE loved and used by developers all around the world. With the new editor, we can now provide proper support for bi-directional languages mixing in left-to-right and right-to-left text. We can also use native macOS editing capabilities for typing accented and special characters. Language improvements provided by the new editor include:<\/p>\n<ul>\n<li><b>Right-to-left<\/b> and bi-directional language support.<\/li>\n<li><b>Smoother text rendering<\/b>, which improves the appearance of all text regardless of language choice.<\/li>\n<li><b>Emoji support<\/b>!<\/li>\n<\/ul>\n<p>Check out the following example, showing how you can use native macOS input controls to insert text using different languages, plus an all-important emoji. \ud83d\ude09<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-224558\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-language-dark-1.png.gif\" alt=\"language\" width=\"650\" height=\"365\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Improved find and replace<\/h3>\n<p>We developers, usually spend more time exploring code bases, navigating through our existing code, and refactoring rather than writing brand new code. For this, we need a reliable and easy to navigate IDE. With the new preview editor, we\u2019ve focused on replacing the existing Find and Replace functionality in the editor, so it is more intuitive and discoverable. With this new dialog, you can now:<\/p>\n<ul>\n<li>Easily switch between using regular expressions, performing plain text searches, or making a case-sensitive search.<\/li>\n<li>Tab between options in the dialog and perform your Find\/replace actions much faster.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-224560\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/03\/vs4mac-searchandreplace-dark-2.png.gif\" alt=\"find and replace\" width=\"650\" height=\"515\" \/><\/p>\n<h3>Try the preview today, and please share your thoughts!<\/h3>\n<p>We encourage you to <a href=\"https:\/\/aka.ms\/vs4mac-preview\">download and try out the release today<\/a>! 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 <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/productinfo\/mac-roadmap\">product roadmap<\/a> to see what we\u2019re working on next and share your <a href=\"https:\/\/developercommunity.visualstudio.com\/spaces\/41\/index.html\">feedback and suggestions<\/a>! We strive to be 100% driven by customer feedback and we love to hear from you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post is all about the cool new features, bug fixes and performance improvements we&#8217;ve added to the latest release (Preview 3) of Visual Studio 2019 for Mac. Some of the highlights include but are not limited to the following: launching multiple IDE instances, faster Xamarin Android developer tools, and a new C# editor. Read on to learn more.<\/p>\n","protected":false},"author":2302,"featured_media":224559,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[237,5,182,12,452,353],"class_list":["post-224468","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-net","tag-csharp","tag-unity","tag-visual-studio","tag-visual-studio-for-mac","tag-xamarin"],"acf":[],"blog_post_summary":"<p>This blog post is all about the cool new features, bug fixes and performance improvements we&#8217;ve added to the latest release (Preview 3) of Visual Studio 2019 for Mac. Some of the highlights include but are not limited to the following: launching multiple IDE instances, faster Xamarin Android developer tools, and a new C# editor. Read on to learn more.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/224468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/2302"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=224468"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/224468\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/224559"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=224468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=224468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=224468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}