/clj-extras-plugin

Clojure Extras IntelliJ Plugin

Primary LanguageKotlinApache License 2.0Apache-2.0

Clojure Extras Plugin

Custom features added on top of Cursive for Clojure Lovers.

Main Features

  • Inline code evaluation: evaluate forms directly in source view (see screenshots)! Just add a custom Keymap for Tools/Evaluate Inline actions menu
  • Clj-kondo support: lint your files with clj-kondo (built-in or local binary support)
  • An annotator for keyword/symbols namespaces (custom syntax highlighted namespaces ftw!)
  • Status bar widget to display current file/namespace (great for zen mode, try it)

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Clojure Extras > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Preferences

Custom highlighting can be configured at Settings/Preferences > Editor > Color Scheme > Clojure Extras

You can also setup a custom clj-kondo binary, enable/disable inspections, pretty printing and stdout redirection on Settings/Preferences > Tools > Clojure Extras

image

Tips

To make clj-kondo inspections highlighting faster you can tune the autoreparse delay on Settings/Preferences > Editor > Autoreparse delay

image


Plugin based on the IntelliJ Platform Plugin Template.