Today we discuss one of the new features of Visual Studio 2017 “Go To All”. In large projects, it is tough to find some type or class or property. By using “Go To All” feature, we can easily search for any type including files also. This feature enables us to find anything which we required with in the project.
Let’s discuss this feature with a simple example. Open Microsoft Visual Studio 2017, create a new project and select Windows Application, name the application and save.
To find “Go To All” feature, go to Edit => Go To => select Go To All as shown below.
It displays the “Go to All” window as shown below.
I have added two classes here Company & Employee with some public properties CompanyId, CompanyName, EmpId, and EmpName. Now enter Company in “Go to All” window, immediately it displays Company class as shown below.
In the same way, even we can search for any types. The shortcut for “Go To All” feature is Ctrl + T or Ctrl + , .
By using “Go To All” feature, we can search for file, Type, Member, Symbol,…etc.
Go To File: If we want to find only files, select Edit => Go To => select “Go To File”. “Go to File” window also displays as “Go To All” window as shown below.
Go To Type: To search for only Types, select Edit => Go To => select “Go To Type” and it displays the “Go To Type” window as below.
Go To Member: To search for only members, select Edit => Go To => select “Go To Member” and it displays the “Go To Member” window as below.
Go To Symbol: To search for only symbols, select Edit => Go To => select “Go To Symbol” and it displays the “Go To Symbol” window as below.
Please find below for the shortcuts for all above features.
Feature |
Shortcut |
Go To All |
Ctrl + T or Ctrl + , |
Go To File |
Ctrl + 1 and Ctrl + F |
Go To Type |
Ctrl + T and Ctrl + T |
Go To Member |
Ctrl + T and Ctrl + M |
Go To Symbol |
Ctrl + T and Ctrl + S |
So, what are you waiting for? Enjoy this amazing feature Visual Studio 2017. Purchase VS 2017 at amazing discount by using Microsoft Visual Studio 2017 Promo Code.