Navigate | Navigate To | Function Exits
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+GAlt+~. 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.
If a function has void return type, then the closing brace is highlighted as well.
To navigate to the next highlighted exit point, choose
Navigate | Next Item
To navigate to the previous highlighted exit point, choose Navigate | Previous Item or press Ctrl+Alt+UpCtrl+Alt+PageUp.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.