ReSharper 2023.3 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 only those Visual Studio squiggles that duplicate ReSharper code analysis highlightings

Use this checkbox to avoid duplicated highlightings of the same code issues by ReSharper and Visual Studio.

Quick Actions indicator on the left editor margin

Choose whether and how ReSharper should change the appearance of Visual Studio's Quick Actions (light bulb and screwdriver icons).

  • Hide Visual Studio indicator

    Visual Studio indicator is not shown in the editor margin; however, it is still available on mouse hover

  • Show both Visual Studio and ReSharper indicators

    Both Visual Studio Quick Action indicators and ReSharper action indicators are displayed in the left margin. Both may be displayed for the same line. If you have default keybindings, you will be able to see Visual Studio actions with Ctrl+. and ReSharper actions with Alt+Enter.

  • Combine ReSharper and Visual Studio actions in one indicator

    Only one indicator will appear in the left margin for the specific line. In most cases, Visual Studio actions will be integrated into ReSharper's action list with additional options. You can recognize Visual Studio quick actions by the special icon ThemedIcon.YellowBulbVS.Screen.(Gray).png.

    • Show Visual Studio 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:
    • Do not filter out duplicate actions

      By default, ReSharper hides a Visual Studio quick action if it has a similar quick-fix or context action. You can use this checkbox to disable this behavior.

    • Enable retrieval timeout

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, refer to 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 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 the Productivity Power Tools extension.

Visual Studio and ReSharper tooltips basically provide similar information about the symbol you are hovering 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: 21 March 2024