Skip to content
| Marketplace
Sign in
Visual Studio>Tools>ReSharper_SilentCleanupOnSave
ReSharper_SilentCleanupOnSave

ReSharper_SilentCleanupOnSave

Preview

Graham van Staden

|
1,121 installs
| (3) | Free
Automatically runs ReSharper's Silent Cleanup command on Save.
Download

ReSharper_SilentCleanupOnSave

Automatically format your code on save

This extension automatically runs ReSharper's Silent Cleanup command when saving documents.

Installing ReSharper_SilentCleanupOnSave via Visual Studio Extension Manager

In ReSharper 2018 (and up), you can set the default silent cleanup profile in 4 easy steps:

  1. Open ReSharper's "Options", and go to "Code Cleanup".
  2. Select the desired profile.
  3. Click "Set as default".
  4. Click save.

Set ReSharper's default clean profile

NB: You can create (and configure) your own custom profile by duplicating an existing profile.

To find out more about ReSharper's Code Cleanup profiles, click here.

Compatibility:

  • Only compatible with Visual Studio 2019 and later (although this might change later).
  • Any version of ReSharper that supports either the "ReSharper.ReSharper_SilentCleanupCode" or the "ReSharper_SilentCleanupCode" command.

NOTE: As of ReSharper v2020.2, this plugin has become redundant as ReSharper now has native code cleanup on save functionality.

Known Issues:

  • When saving multiple files, the active document may flicker back and forth between the unsaved tabs and your last active document.
  • After ReSharper has formatted the document, you need to call save a second time - this is due to Visual Studio's API only triggering AFTER the document has already been saved. (Further investigation is required)
  • On Build, documents are saved without being formatted. This is by design due to limitations with the API.

Credits:

  • The icon was created using serval different icons originally make by Freepik from www.flaticon.com
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft