Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>clj-kondo-fixNew to Visual Studio Code? Get it now.
clj-kondo-fix

clj-kondo-fix

sirmspencer

| (0) | Free
Auto-fix Clojure code based on clj-kondo findings
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

clj-kondo-fix for VS Code

Fixes Clojure code with clj-kondo-fix, which runs the clj-kondo linter and automatically corrects the findings it knows how to fix, such as unused requires, redundant forms, and unsorted namespaces. The clj-kondo-fix executable is bundled with the extension; nothing else needs to be installed.

Usage

Run clj-kondo-fix: Fix File from the command palette or the editor's context menu on a .clj, .cljs, or .cljc file. The fixes are applied to the open document, including unsaved changes, as one undoable edit.

To fix files whenever they are saved:

"clj-kondo-fix.fixOnSave": true

clj-kondo-fix runs from the file's folder, so the project's .clj-kondo configuration applies. The extension does not register a formatter, so formatting stays with Calva or any other Clojure formatter. The rules list every finding it fixes.

Settings

  • clj-kondo-fix.fixOnSave: fix Clojure files before they are saved. Off by default.
  • clj-kondo-fix.path: path to a clj-kondo-fix executable to use instead of the bundled one, for example a development build.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft