JetBrains Rider 2019.2 Help

Code Vision

Code Vision gathers various metrics for types and type members and displays this information above or after their declarations. Position of metrics, their maximum number, and other preferences can be configured on the Editor | Code Vision page of JetBrains Rider settings Ctrl+Alt+S.

JetBrains Rider Code Vision metrics on type and type member

You can click every metric to reveal additional details, or hover the mouse over metrics and then click More to view hidden metrics or access Code Vision settings.

If you want to access code metrics details with the keyboard, you can use the Navigate To shortcut Alt+` for all navigation-related metrics, or you can configure a custom shortcut for the Show Code Vision action.

Code Vision relies on two subsystems to have metrics pre-calculated:

  • Solution-Wide Analysis to calculate navigation metrics (usages of symbol, inheritors, returning API, etc.).
    If the solution-wide analysis is disabled, these metrics will not be calculated, and you can hide them by clearing the Show unavailable metrics when Solution-Wide analysis is disabled or not ready checkbox on the Editor | Code Vision page of JetBrains Rider settings Ctrl+Alt+S. If not hidden, these metrics will appear with question marks. However, you can still click these metrics to start the required calculations and get the corresponding results.

  • Integrated VCS client to display code contributors. This metric appears for all supported VCS clients (Git, Mercurial, Subversion, TFVC, etc.) provided that version control integration is enabled for the current solution (you can check it on the Version Control settings page).

Last modified: 19 September 2019