Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
May 14, 2013
35 727
This plugin integrates the Leiningen build system into IntelliJ IDEA.

Download plugin

Recent change notes

Version 0.3.4

  • Added ability to 'Import a Project' and point to a project.clj file.

Version 0.3.3

  • Version range corrected, to make plugin work with IDEA 12.1

Version 0.3.2

  • Fixed issue #18 (hopefully).

Version 0.3.1

  • No longer create directories (ie. src, resources, dev-resources, etc) if they do not exist on the filesystem (Issue #20)
  • Monitor the :java-source-paths and add it to the IDEA module's source path if present in the project.clj (Issue #19)

Version 0.3.0

  • Intellij 12.0 support (thanks go to Chris Shellenbarger)

Version 0.2.4

  • Added support for Leiningen 2.0 as the primary dependency resolution (similar to the Maven plugin) (thanks go to Chris Shellenbarger)
  • Added support for multiple source, tests, or resource paths (thanks go to Chris Shellenbarger)
  • Added support for different dependency scope issues (thanks go to Chris Shellenbarger)
  • Added background processing for leiningen project refreshes

Version 0.2.3

  • Made plugin compatible with IntellIJ 11.1
  • Leiningen Jar and plugins are now in the classpath for reading project.clj (thanks go to John Chapin)
  • Some minor bugfixes

Version 0.2.2

  • Bugfixes (thanks go to Vladimir Matveev)

Version 0.2.1

  • Made plugin compatible with IntelliJ IDEA 11

Version 0.2

  • Fixed project.clj file parsing
  • Correct compile/sources/resources/test directories recognition from project.clj
  • Added notifications on project file parsing errors

Version 0.1.2

  • Made plugin compatible with IntelliJ 10.5

Version 0.1.1

  • Made plugin compatible with IntelliJ 10.0.2

Version 0.1.0

  • Made plugin compatible with IntelliJ 10.

Version 0.0.3

  • Added the missing "test" target.

Version 0.0.2

  • You can now open Leiningen projects directly (like you can open an IPR file)
  • Importing a project will now setup source, test and output path (currently limited to the defaults)
  • Project's name and version is extracted from the Leiningen project file
  • Added a quickbutton to open settings dialog.
  • Added icon for Leiningen projects.
  • Run configurations should now run properly.

Version 0.0.1

  • Initial release
  • Leiningen needs to be installed. You can configure it's location within the plugin.
  • You can run leiningen goals in your project.

General usage instructions

Install the plguin via the plugin manager. Then go to Settings > Leiningen and set up the location of Leiningen. Now you can run Leiningen targets in the Leiningen tool window on the right side of the IntelliJ main window by doubleclicking on the target name. When you open a project that is having a project.clj file in it's root, it is automatically added to the list of Leiningen projects in the Leiningen tool window. If you have multiple project.clj in your project tree (e.g. a project with subprojects) you can add these manually by pressing the plus icon in the Leiningen tool window.