RuboCop installs statistics
By RuboCop Headquarters · VS Code Marketplace · Linters
VS Code extension for the RuboCop linter and code formatter.
RuboCop has 94,383 recorded installs on VS Code Marketplace, an increase of 0.7% over the past 30 days, ranking #2474 of 2,515 tracked listings.
Rating: 5.00 / 5 from 2 ratings
About RuboCop
vscode-rubocop
This is the official VS Code extension for RuboCop.
You can install this VS Code extension from the Visual Studio Marketplace.
For VS Code-based IDEs like VSCodium or Eclipse Theia, the extension can be installed from the Open VSX Registry.
Language Server Capabilities
These are the capabilities of this extension, each enabled by RuboCop's built-in LSP server.
It supports the following capabilities:
- Fast Diagnostics (Linting)
- Fast Document Formatting
- Execute Command (Trigger autocorrect)
:star2: Pro tip: Enabling Format On Save is recommended. By activating just this one setting, code gets autocorrected every time a file is saved. Don't miss out on this game-changing boost to your development experience!
Requirements
Configuration
The extension only offers a few of its own configuration options, but because it conforms to the VS Code Formatting API, several general editor settings can impact the extension's behavior as well.
Configuring the VS Code editor to use RuboCop
There are two general editor settings that you'll want to verify are set in order to use RuboCop as your formatter.
editor.formatOnSave
To automatically format your Ruby with RuboCop, check Format on Save in the Formatting settings under Text Editor:

Or, in settings.json:
"editor.formatOnSave": true,
editor.defaultFormatter
Next, if you have installed multiple extensions that provide formatting for Ruby
files (it's okay if you're not sure—it can be hard to tell), you can specify
RuboCop as your formatter of choice by setting editor.defaultFormatter under
a "[ruby]" section of settings.json like this:
"[ruby]": {
"editor.defaultFormatter": "rubocop.vscode-rubocop"
},
Configuring RuboCop extension options
To edit RuboCop's own options, first expand Extensions and select RuboCop from the sidebar of the Settings editor.
rubocop.mode
The Mode setting determines how (and whether) RuboCop runs in a given
workspace. Generally, it will try to execute rubocop via bundle exec if
possible, and fall back on searching for a global rubocop bin in your PATH.

- "Always run—whether via Bundler or globally" (JSON:
enableUnconditionally) this mode will first attempt to run via Bundler, but if that fails for any reason, it will attempt to runrubocopin your PATH - [Default] "Run unless the bundle excludes rubocop" (JSON:
enableViaGemfileOrMissingGemfile) this mode will attempt to run RuboCop via Bundler, but if a bundle exists and therubocopgem isn't in it (i.e. you're working in a project doesn't use RuboCop), the extension will disable itself. If, however, no bundle is present in the workspace, it will fall back on the firstrubocopexecutable in your PATH - "Run only via Bundler, never globally" (JSON:
enableViaGemfile) the same as the defaultenableViaGemfileOrMissingGemfile, but will never runrubocopfrom your PATH (as a result, single-file windows and workspace folders without a Gemfile may never activate the extension) - "Run only globally, never via Bundler" (JSON:
onlyRunGlobally) if you want to avoid running the bundled version of RuboCop, this mode will never interact with Bundler and will only runrubocopon your PATH - "Disable the extension" (JSON:
disable) disable the extension entirely
Or, in settings.json:
"rubocop.mode": "enableViaGemfile",
rubocop.autocorrect
The autocorrect option does what it says on the tin. if you don't want RuboCop to automatically edit your documents on save, you can disable it here:

You might want to disable this if you're using RuboCop to highlight problems
but don't want it to edit your files automatically. You could also accomplish
this by disabling editor.formatOnSave, but as that's a global setting across
all languages, it's more straightforward to uncheck this extension setting.
Or, in settings.json:
"rubocop.autocorrect": true,
rubocop.safeAutocorrect
This feature requires RuboCop 1.54+ to be enabled.
When autocorrect is enabled, safeAutocorrect controls its safety. By default,
it is enabled to perform safe autocorrections. If you disable it, unsafe
autocorrections will also be performed, you can disable it here:

Or, in settings.json:
"rubocop.safeAutocorrect": false,
```…
Description from the VS Code Marketplace listing.
- autocorrect
- formatter
- language-server
- linter
- rubocop
- ruby
- style-guide
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Linters plugins
All 20 RuboCop alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=rubocop.vscode-rubocop. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.