Your friendly neighborhood .NET productivity team (aka. Roslyn) focuses a lot on improving the .NET coding experience. Sometimes it’s the little refactorings and code fixes that really improve your workflow. You may have seen many improvements in the previews, but for all of you who were eagerly awaiting the GA release here’s a few features you may enjoy!
![](https://habrastorage.org/webt/ul/d1/x-/uld1x-lt048upmjbinezxtuzlg0.jpeg)
Tooling improvements
I’m most excited about the new Roslyn classification colors. Visual Studio Code colors received high praise so we incorporated similar color schemes into Visual Studio. Your code editor is now just a little more colorful. Key words, user methods, local variables, parameter names, and overloaded operators all get new colors. You can even customize the colors for each syntax classifications in Tools > Options > Environment > Fonts and Colors and scroll to ‘User Members’.
At the bottom of files in your editor are the document health indicators as well as our code cleanup icon. The document health indicators let you know at a glance how many errors and warnings are present in the file you currently have open. You can click on the code cleanup icon to apply code style rules specified in Tools > Options or, if you have an editorconfig file that shares one code style across your team, it will apply styles specified in that file.
![image](https://habrastorage.org/webt/zl/t-/fb/zlt-fbxd2lsprkygwp6ezl2l7mm.gif)
You can edit sdk-style project files with a simple double-click! You can also view these project files with preview in GoToAll (Ctrl+t) navigation and search the contents for file references.
![image](https://habrastorage.org/webt/3o/lx/xn/3olxxnmvgq6ulcmcrjqe6gbfeik.gif)
Load a subset of projects in your solution with filtered solutions! You can now unload projects and save a .slnf file that will only open the projects you specified. This helps you get to the code you are interested in quickly without needing to load an entire solution.
Find all references categorizes by reference type. You can filter by read/write in the new ‘Kind’ column in the find all references window.
Run code style formatting over the entire solution at the command-line with the dotnet format
global tool.
![image](https://habrastorage.org/webt/we/lr/mk/welrmkygh2ztk82kmkfay5vvbui.gif)
Intellicode is an extension offering smarter intellisense completion with machine-learning trained models run over 2,000 open source .NET repositories on GitHub.
Now the omnibus of new code fixes and refactorings!
Foreach to LINQ
![image](https://habrastorage.org/webt/wm/hc/ey/wmhceyf5dpgw8fwpmvinl38wx3y.gif)
Add missing reference for unimported types
![image](https://habrastorage.org/webt/jm/gj/bq/jmgjbq5jxebpgfn1z8boko7d_l8.gif)
Sync namespace and folder name
![image](https://habrastorage.org/webt/xc/qm/fy/xcqmfypbq-8qtrz5okvdmtwhkqs.gif)
Invert conditional expressions
![image](https://habrastorage.org/webt/24/xs/az/24xsazhhatf3mjt2lashssazoxm.gif)
Pull members up dialog for promoting members to an interface
![image](https://habrastorage.org/webt/g4/f_/wf/g4f_wfhuc7zrwxul0fk_a260vie.gif)
Wrap/indent/align parameters/arguments
![image](https://habrastorage.org/webt/xb/c8/mj/xbc8mjt9kir0gqebwv91yhsnlca.gif)
Remove unused expression values and parameters
![image](https://habrastorage.org/webt/ry/y4/jh/ryy4jh7hbgpiqhrdkh6ovaarmwg.gif)
This is a set of highlights of what’s new in Visual Studio 2019, for a complete list see the release notes. As always, I would love your feedback via twitter, on GitHub, or in the comments section below. Also, one important thing to note is that to use .NET Core 3.0 Preview you will need to download and installthe SDK, it is not included with the Visual Studio 2019 installer yet.
![KendraHavens](https://habrastorage.org/getpro/habr/post_images/20b/857/3e8/20b8573e8b30daade80180f8d4e8ca82.jpg)
Kendra Havens
Program Manager, .NET and Visual Studio