Categories


Authors:
derkork
opensource software

Leiningen

Products: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, MPS, Android Studio, 0xDBE

Vendor: Jan Thomä

Email:

Website: N/A

Bugtracker page

Description:

This plugin integrates the Leiningen build system into IntelliJ IDEA.
Downloads: 30139
Rating:
Participated in rating: 3
Version Since Build Until Build File/URL Size (Kb) Date Details
0.3.4. 120. 129.*. Download 6851.02 2013-05-14 15:00:53 details
0.2.6. 117. 117.*. Download 6821.03 2013-01-31 21:58:50 details
0.2.2. 107. 111.*. Download 1988.94 2011-12-19 10:23:55 details
0.1.1. 99. 104.*. Download 4581.65 2011-02-24 16:38:40 details
0.0.3. 93.13. . Download 63.25 2010-07-30 03:21:03 details
. .
13 updates are hidden show all updates
Screenshot #4826

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.

Comments:

12>
Anonymous
2013-06-28 00:07:16
Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(66,91),absolute(1343,347),button=1,modifiers=Button1,clickCount=1] on frame0: de/janthomae/leiningenplugin/leiningen/LeiningenAPI java.lang.NoClassDefFoundError: de/janthomae/leiningenplugin/leiningen/LeiningenAPI at de.janthomae.leiningenplugin.module.model.ModuleInformationUtils.fromProjectFile(ModuleInformationUtils.java:33) at de.janthomae.leiningenplugin.project.wizard.LeiningenProjectImportWizardStep.updateStep(LeiningenProjectImportWizardStep.java:60) at com.intellij.ide.util.newProjectWizard.AddModuleWizard.updateStep(AddModuleWizard.java:172) at com.intellij.ide.wizard.AbstractWizard.init(AbstractWizard.java:317) at com.intellij.ide.util.newProjectWizard.AddModuleWizard.initModuleWizard(AddModuleWizard.java:151) at com.intellij.ide.util.newProjectWizard.AddModuleWizard.(AddModuleWizard.java:97) at com.intellij.ide.actions.ImportModuleAction.createImportWizard(ImportModuleAction.java:178) at com.intellij.ide.actions.ImportModuleAction.selectFileAndCreateWizard(ImportModuleAction.java:122) at com.intellij.ide.actions.ImportModuleAction.doImport(ImportModuleAction.java:61) at com.intellij.ide.actions.ImportProjectAction.actionPerformed(ImportProjectAction.java:29) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:162) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:259) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:892) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:114) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:230) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:104) at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: java.lang.ClassNotFoundException: de.janthomae.leiningenplugin.leiningen.LeiningenAPI PluginClassLoader[Leiningen, 0.3.4] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 54 more
.
Anonymous
2013-06-28 00:06:23
It's not a good idea. Not working - I'm just try to "Import project" and show him my project.clj file :[ IDEA 12.1.4
.
sennhauserd
2012-11-22 21:15:25
Thank you very much :)
.
derkork
2012-11-21 11:40:09
@sennhausered I'm currently working on IDEA 12 compatibility, some APIs seem to have changed to it won't work right out of the box. You may watch this thread https://github.com/derkork/intellij-leiningen-plugin/issues/13 to get notified when the IDEA 12 version is available.
.
sennhauserd
2012-11-21 04:23:15
Hello, there is no version of this plugin for Intellij 12 ? I have been looking for it ... but this one is not compatible yet. Thanks :-)
.
derkork
2012-03-30 11:17:51
Just released version 0.2.3 which is compatible with IDEA 11.1. Have fun with it :)
.
GIB
Rated:
2012-03-28 23:40:09
Are you likely to release a version compatible with 11.1 ?

Thanks
.
derkork
2011-12-09 11:36:35
Hello Semperos,

thank you for the warm words. The lein run task was probably left out because it didn't exist when the plugin was started. I have added an issue to the tracker at github, that support for this task should be added (https://github.com/derkork/intellij-leiningen-plugin/issues/6). If you have further suggestions, feel free to add other issues there. You can also comment on the issue I just created, maybe you have some more ideas about use cases of "lein run" that should be supported. After all it's a more complex task than just "compile".

Kind regards,
Jan
.
semperos
Rated:
2011-12-09 05:13:53
Great work!

Question: Is there a reason 'lein run' is not supported?
.
derkork
2010-07-30 10:34:02
Open IntelliJ, go to settings (wrench icon), then plugins, switch to "Available" tab, type in "Leiningen" and you should see version 0.0.3. Then press the download icon in the upper left corner. This will download and install the latest version. You need to restart IntelliJ after this. For some odd reason the download link on this page only appears a few hours after the latest version was released. I guess Jetbrains is doing some kind of review.
.
Anonymous
2010-07-30 08:04:46
Where can I get version 3? I don't see a download URL?
.
Anonymous
2010-07-30 07:53:17
Thanks for the fix!!

Yeah - you're right about swank, not entirely useful in intellij. I was just listing a diff between 'lein help' and what i see in the plugin? is there source for this plugin?
.
derkork
2010-07-30 03:23:43
I just pushed 0.0.3 which adds the missing test target. Guess i should test more ;). About the swank target, i am not sure how this would be of use in IntelliJ as swank is targeted to emacs users. Also currently there is no way of entering parameters (like port etc.) so that would probably something for a 0.1.x or something. Any insights on the swank target are greatly appreciated :)
.
Anonymous
2010-07-30 00:15:55
Hi -

I've installed the plugin but I only see some of the lein targets. Notably missing are 'test' and 'swank'

Any ideas?

Thanks!!
.
derkork
2010-07-14 21:45:47
This seems to be an issue occuring every now and then on plugin updates and is not particularly caused by the plugin itself. See http://bit.ly/bp4E9F and http://bit.ly/9cPIsT. You can also try to to remove .IntelliJIdea90/system/plugins/action.script if it exists and then try again to update the plugin.
.
12>