Visual Studio 2017 - New Features And Installation

Introduction

 I know everyone is excited for the new release of "Visual Studio 2017". Yes , Microsoft Visual Studio celebrated its 20th years of glory with all tech lovers in the world. Now, it has come up with lots more excitement. Thus, I am happy to share the important features of Visual Studio 2017 with all the tech lovers.

Visual Studio 2017 System Requirements

The following are the minimum requirements of Visual Studio 2017 installation.
,

Image Credit : https://www.visualstudio.com 

 
Image Credit : https://www.visualstudio.com

Download Visual Studio 2017

Go to this link Visual Studio 2017, choose & download your favorite edition.

 Image Credit : https://rajeeshmenoth.wordpress.com

Installing Visual Studio 2017

Visual Studio 2017 Installation Window shows 3 sections.
  • Workloads
  • Individual components
  • Language packs
Workloads

We can choose the appropriate development section from Visual Studio Workloads. I selected "ASP.NET and Web development & .NET Core cross-platform development". It also contains around 5.50 GB. Thus, If you select all Workloads, then it will reach 50 GB+. 

Individual components

We can choose the required component from this section.

Language packs

We can use different languages in Visual Studio. Thus, we can choose the appropriate language in this section.

Gif Image Credit : https://rajeeshmenoth.wordpress.com

Installation process

We are going to install Visual Studio Community 2017 edition in our machine. Once the following process is complete, we can launch & access the new features in Visual Studio 2017.
 
Image Credit : https://rajeeshmenoth.wordpress.com

Features in Visual Studio 2017 

The following are the new features in Visual Studio 2017.

Live Unit Testing

This feature is only available in Visual Studio 2017 Enterprise edition. Without running the solution, we can easily test the Application because a few hidden background processes happen in our Application through "Live Unit Testing". We can enable Live Unit Testing for which you need to go to the "Test" command of the top-level menu bar in VS, choose "Live Unit Testing", then "Start".

Image Credit : https://rajeeshmenoth.wordpress.com

We noticed that 3 symbols appeared in our code due to running on background Live Testing.
  • Cross Sign – line of executable code. The test is covered and it indicates a failure test. 
  • Tick Mark – line of executable code. The test is covered and it indicates a success test.
  • Minus – line of executable code. Not yet covered a single Test .
Dotted Line

The is a very cool feature in Visual Studio 2017 because this option helps to identify the exact open and close curly braces "{}" through dotted line in our code. This dotted line is really helpful for when you are working on a bulk amount of code in a single page.

 
Image Credit : https://rajeeshmenoth.wordpress.com

Filttered IntelliSense Search 

The new Filtering IntelliSense Search option is available in Visual Studio 2017. This option is one of the powerful ways to consume the search time in our code. The following IntelliSense bottom tray contains icons such as Properties, Interface, Modules, Namespaces, Enums, Classes, Constants etc. For example, if i want to search an Interface, then I can choose an Interface Icon from the bottom of the tray, else it will show all the possible contents in our solution.

Image Credit : https://rajeeshmenoth.wordpress.com

Improvements Of Navigation Controls
  1. Go to All ( Cntrl + T )
  2. Go to Line ( Cntrl + G )
  3. Go to File ( Cntrl + 1 + F )
  4. Go to Type ( Cntrl + 1 + T )
  5. Go to Member ( Cntrl + 1 + M )
  6. Go to Symbol ( Cntrl + 1 + S )
Go to All ( Cntrl + T ) 

Press "Cntrl + T", then it will display one tray above the search bar. Thus, we can search the contents with the help of the options given below like Line/Files/Types/Members/Symbols. For example, I want to search type in our entire solution or an Application. Now, choose "Type" Icon in the tray and type in the search bar, so it will filter and show the exact results much faster than the earlier versions of VS. The shortcut is "Cntrl + 1 + T".

 
Image Credit : https://rajeeshmenoth.wordpress.com

Find All Reference ( Shift + F12 )

We can find all the references in our entire solution. The highlighted one is all the reference results by a combination of project, definition and path. 

Gif Image Credit : https://rajeeshmenoth.wordpress.com

Code suggestions

This is a very exciting feature in VS2017. It gives us the good code practice in our Application. The code given below notices that we have written an "If" condition without curl braces. Thus, it gives us the suggestion to add the curl braces to understand the code.

 
Gif Image Credit : https://rajeeshmenoth.wordpress.com

Code style changing

We can change the code style option in our VS2017. Go to "Tools -> Options -> Text Editor -> Basic -> Code Style -> Naming".

 Gif Image Credit : https://rajeeshmenoth.wordpress.com

Reference
Conclusion

We learned installation & new features of Visual Studio 2017. I hope, you liked this article. Please share your valuable suggestions and feedback.


Similar Articles