This plugin integrates the Leiningen build system into IntelliJ IDEA.
Recent change notes
- Added ability to 'Import a Project' and point to a project.clj file.
- Version range corrected, to make plugin work with IDEA 12.1
- Fixed issue #18 (hopefully).
- 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)
- Intellij 12.0 support (thanks go to Chris Shellenbarger)
- 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
- 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
- Bugfixes (thanks go to Vladimir Matveev)
- Made plugin compatible with IntelliJ IDEA 11
- Fixed project.clj file parsing
- Correct compile/sources/resources/test directories recognition from project.clj
- Added notifications on project file parsing errors
- Made plugin compatible with IntelliJ 10.5
- Made plugin compatible with IntelliJ 10.0.2
- Made plugin compatible with IntelliJ 10.
- Added the missing "test" target.
- 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.
- 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.