ReSharper 2022.2 Help

Visual Studio Features

ReSharper options: Environment | Editor | Visual Studio Features

This page of ReSharper options allows you to configure integration with Visual Studio features.

Commands & Menus

Override Visual Studio refactorings

Hides Visual Studio refactoring commands from the Edit menu and from context menus. Also, when you invoke a Visual Studio refactoring with a shortcut, the corresponding ReSharper refactoring will be used.

Note that some keyboard shortcuts in the Visual Studio scheme override Visual Studio's native refactoring shortcuts independently of this option.

Simplify Visual Studio menus

Hides Visual Studio native menu items that are overridden by ReSharper functionality, for example, Visual Studio's Organize Usings menu.

Visual Studio code analysis

Hide Visual Studio squiggles

This option is not available in Visual Studio versions older than 2015.

If it is selected, Visual Studio's error highlighting in the editor is not displayed, only ReSharper's highlighting appears.

Hide Visual Studio Quick Action icons in the left editor margin

This option is not available in Visual Studio versions older than 2015.

If it is selected, Visual Studio's Quick Actions (light bulb and screwdriver icons) are not shown separately but integrated into ReSharper's action list.

Merge Visual Studio Quick Actions into ReSharper action indicator

If it is selected, ReSharper does the following for each Visual Studio's quick action:

  • If there is a similar ReSharper's quick-fix or context action, the Visual Studio's quick action is not displayed.

  • If there are no similar ReSharper's action, the Visual Studio's action becomes available in ReSharper's action list. You can recognize Visual Studio's quick actions by the special icon Themed icon yellow bulb vs screen gray.

Show Visual Studio Quick Actions in submenu

If this checkbox is selected, all Visual Studio Quick Actions available for the current caret position will be grouped into Roslyn actions submenu in ReSharper's action list:

ReSharper:

Force getting Visual Studio Quick Actions

Enabling this checkbox may help if some Visual Studio Quick Actions in C++ do not appear in ReSharper's action list. When enabled, ReSharper will use another API to fetch Visual Studio actions, which may work slower. If you only work with C#, leave this checkbox disabled.

Inheritance margin

Starting from version 16.10, Visual Studio provides ist own implementation of the inheritance margin, which is similar to the ReSharper functionality but has some minor differences. For example, Visual Studio inheritance margin has additional icons for cases when a type is both base and derived, but it does not display icons for hiding members, it interferes with breakpoints, and so on.

By default, ReSharper hides Visual Studio inheritance margin and displays its own icons in the gutter. If you prefer to use Visual Studio inheritance margin or both, use these options. For more information, see Navigate inheritance hierarchy with gutter marks.

Use Go To Containing Block to jump to the opening brace

By default, Go To Containing Block Shift+Alt+[ in Visual Studio jumps to the beginning of the containing statement. Use this option to override this behavior and jump to the opening brace of the containing block.

Visual Studio inline hints

Disable Visual Studio inline hints

If you are using ReSharper's Inlay hints, keep this checkbox selected to avoid conflicts.

Tooltips

Replace Visual Studio tooltip

This option lets you replace Visual Studio symbol tooltips, which appear when you hover the mouse over code symbols in the editor (quick info), with ReSharper tooltips.

You may want to disable this option if you prefer to see Visual Studio's native tooltips or if you use Productivity Power Tools extension.

Visual Studio and ReSharper tooltips basically provide similar information about the symbol you are hovering the cursor over. The Visual Studio tooltip is different in different Visual Studio versions.

If you disable ReSharper syntax highlighting (by clearing the Color Identifiers checkbox on the Code Inspection | Settings page of ReSharper options), ReSharper tooltips will also be disabled.

C++ Tooltips

Replace Visual Studio tooltip for C++

This option lets you replace Visual Studio symbol tooltips in C++ code, similarly to the general tooltip option above. This option is enabled by default because ReSharper tooltip in C++ provides better syntax highlighting and symbol documentation:

ReSharper: Editor tooltip in C++

Debugger DataTips

Override Visual Studio DataTips with ReSharper DataTips

ReSharper can optionally replace the Visual Studio DataTips with its own DataTips, which have a number of distinctions:

  • You can search for specific values in the current suspended-execution context. To do so, just start typing when the focus is in the DataTip. Note that the search will only find values in expanded nodes.

  • The DataTip disappears not when you remove the mouse pointer, but when you click anywhere outside the DataTip.

  • If a type neither has a meaningful ToString() override nor is it annotated with the [DebuggerDisplay] attribute, then the presentation of objects of this type in debugger views could be quite uninformative. In ReSharper DataTips, you can customize presentation of such objects on-the-fly. To do so, expand the type in the DataTip, right-click the desired data members and choose Highlight Property:

    ReSharper DataTips: Revealing values for debugged objects
Last modified: 24 January 2022