Overview Q & A Rating & Review
JetBrains Cleanup Extension runs JetBrains ReSharper code cleanup on the currently active .cs file directly from Visual Studio via a configurable hotkey — no need to switch to the terminal.
Requirements
Install JetBrains ReSharper Global Tools via .NET CLI:
dotnet tool install -g JetBrains.ReSharper.GlobalTools
Make sure jb is available in your system PATH after installation.
Usage
Open any .cs file in Visual Studio
Press your assigned hotkey (default: Ctrl+Alt+F)
The extension saves the file, runs jb cleanupcode on it, and automatically reloads it in the editor
Configuration
Go to Tools → Options → JetBrains Cleanup to configure:
Option
Description
Default
Profile Name
ReSharper cleanup profile to apply (e.g. Built-in: Full Cleanup)
(default profile)
DotSettings File Name
Settings file name relative to the solution folder
(auto-detected from .sln name)
If DotSettings File Name is left empty, the extension automatically looks for a file named YourSolution.sln.DotSettings next to your .sln file.
Notes
Only .cs files are supported
The solution must be open in Visual Studio
jb must be available in PATH — the extension will show a clear error message if it is not found