dotPeek 2017.2 Help

Go to Everything/Type

Navigate | Go to Everything / Type…
Ctrl+N

This command combines two different features:

  • Go to Everything, which appears first, allows you to navigate to the following destinations: types, symbols, files, string literals in source and textual files, recent files, metadata tokens, and recently viewed methods. The list of suggestions appears as soon as you invoke this feature and initially includes your recent files and navigated items.
  • Go to Type, which appears the second time you press Ctrl+N or invoke the command from the menu, allows you to navigate to any type.

Using these features you can search items in all assemblies currently loaded in the Assembly Explorer window and all assemblies referenced from those assemblies.

Note that this command works in global scope, i.e. you do not need to bring your focus to the code viewer to invoke it.

To navigate to everything or to a type

  1. Press Ctrl+N or choose Navigate | Go to Everything / Type… in the main menu.
  2. In the Search Everywhere pop-up list that appears, start typing the item name. As you type, the list of items narrows down, suggesting names that match the entered substring.
  3. To further narrow down the list of items, you can type / to apply filters. For example, you can type /me to display only events. Note that you can type filters both before and after your search query.
  4. To switch to the Go to Type feature, click the menu command or press the shortcut once again. The Enter type name pop-up list appears where you can specify a type you are looking for.
  5. Do one of the following:
    • Click on the desired item to open it in the editor.
    • Select the desired item by pressing Up and Down and then press Enter to open it in the editor.
    • To view and analyze the list of matched items in the Find Results window, click Show in Find Results ThemedIcon SearchResults Screen Gray or press + on the numeric keypad.

Case-insensitive CamelHumps is supported here: for example, you can simply type "ch" instead of "ColorHelper". If you want to navigate to a type by its fully qualified name, you can type parts of the name and split them with spaces or dots.

You can also use wildcards when specifying the name: '*' (asterisk) represents zero or more characters; '+' (plus), ':' (semicolon), '.' (dot), and '\' (backslash) separate parts of the type's fully qualified name.

This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.

Last modified: 14 December 2017

See Also