dotPeek Web Help

Navigate To Function Exits

Navigate | Navigate To | Function Exits
Ctrl+Shift+G ,,X

The Function Exit(s) navigation command provides you an easy way to highlight all exit points of a function. You can find this command on the Navigate to context menu, if you place the caret at the name of a function, getter or setter of a property, the name of constructor, return and throw statements and press Ctrl+Shift+G. ReSharper treats return and throw statements that lead to function termination as function exits.

If there are several exits, each of them will be highlighted. To navigate between highlighted function exits, use Next Item and Previous Item navigation commands.

Navigation_and_Search__Navigate_from_Here__function_exits_01

If a function has void return type, then the closing brace is highlighted as well.
Navigation_and_Search__Navigate_from_Here__function_exits_02

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

See Also

Last modified: 5 December 2014
comments powered by Disqus