ReSharper for Visual Studio Code Help

Get started

ReSharper for Visual Studio Code helps you develop C# code in .NET/.NET Core and ASP.NET Core projects, bringing a ton of code intelligence features from well-known JetBrains .NET tools — ReSharper and Rider.

Prerequisites

Installation

Install from the user interface

In Visual Studio Code, you can install the extension from Visual Studio Code Marketplace: open the Extensions view, search for ReSharper, and click Install.

Install ReSharper in Visual Studio Code

If you are using another compatible IDE, such as Cursor or Windsurf, you can install the extension from the Open VSX Registry.

Install ReSharper in another compatible IDE

Install from VSIX

If the extensions marketplace is not available, download ReSharper as a .vsix file using one of the links below, type >vsix in the search box, and pick Extensions: Install from VSIX....

Install extension in Visual Studio Code fork from VSIX

First start

ReSharper for Visual Studio Code initially integrates in the IDE via a lightweight and cross-platform installer, and it does not load any modules to your IDE when you are working with non-.NET projects.

As soon as you open a directory that contains an .sln, .slnx, or .slnf file, ReSharper initiates its features. When this happens for the first time, ReSharper automatically downloads a platform-specific backend, so the first start may take some time in the background before the extension becomes fully-functional. You will see the progress in the popup:

ReSharper for Visual Studio Code is downloading its platform-specific backend

On the first start, you will need an active internet connection and unrestricted access to the https://download.jetbrains.com/ server. Once the download is complete, the extension will be fully-functional without the need for an internet connection. If there are any problems along the way, ReSharper will notify you and provide a link to download the OS-specific VSIX file, which contains everything necessary for an offline installation.

Open a solution

Press ⌘ M ⌘ O or select File | Open Folder from the menu. Then, choose the directory that contains the .sln, .slnx, or .slnf file of the target solution . After opening the folder, you can browse the solution in the RESHARPER SOLUTION EXPLORER node of the EXPLORER view.

For more information about creating and opening .NET solutions, refer to Manage .NET Solutions and projects.

Complete code automatically

Typing just a few characters is usually enough to locate and select the desired identifier from the completion list. To invoke code completion manually, press ⌃ Space.

ReSharper for Visual Studio Code: Code completion list

Additional suggestions appear automatically when you type a dot, delimiter, or press .

Detect and fix code issues

Errors, warnings, and other code issues are underlined in the editor. You can resolve most of them by pressing ⌥ ⏎.

ReSharper for Visual Studio Code: Apply quick fixes with Alt+Enter

Transform code with context actions

You can also use ⌥ ⏎ to invoke context actions that help you transform existing code or generate new code constructs. For example, press ⌥ ⏎ on a parameter to generate a null check:

ReSharper for Visual Studio Code: Local code transformations

The declaration of a symbol, as well as any of its usages, provides multiple navigation options across the entire solution codebase. For example, press ⌘ U on a declaration or usage of a type to list all occurrences of this type in your solution. You can then preview or jump to any of them:

ReSharper for Visual Studio Code: Find usages in C#

Reformat code

To reformat code, press ⌥ ⇧ F or choose Format Document from the context menu. If there is a selection, press ⌘K ⌘F or choose Format Selection from the context menu to reformat only the selection.

Rename symbols

To rename a symbol and all its usages in the current solution, press ⌃ R when the caret is on the symbol declaration or any of its usages.

ReSharper for Visual Studio Code: Rename refactoring

After typing a new name, you can either apply the rename or preview the changes:

ReSharper for Visual Studio Code: Rename refactoring preview

If the new name of the symbol conflicts with an existing one, a conflict dialog will appear. This dialog will highlight the conflicts and provide options to either cancel the renaming or proceed with it, accepting the conflicting state.

31 October 2025