Downloads: 16909
Rating:
Participated in rating: 3
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:
Thanks
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
Question: Is there a reason 'lein run' is not supported?
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?
I've installed the plugin but I only see some of the lein targets. Notably missing are 'test' and 'swank'
Any ideas?
Thanks!!
java.lang.AssertionError: Source file C:\Documents and Settings\me\.IntelliJIdea90\system\plugins\Leiningen_8440.jar does not exist for action copy[C:\Documents and Settings\me\.IntelliJIdea90\system\plugins\Leiningen_8440.jar, C:\Documents and Settings\me\.IntelliJIdea90\config\plugins\Leiningen_8440.jar]
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:49)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.ide.startup.StartupActionScriptManager$CopyCommand.execute(StartupActionScriptManager.java:150)
at com.intellij.ide.startup.StartupActionScriptManager.executeActionScript(StartupActionScriptManager.java:49)
at com.intellij.ide.ClassloaderUtil.initClassloader(ClassloaderUtil.java:123)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:35)
at com.intellij.idea.Main.main(Main.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
this should be fixed in 0.0.2 now.
Jan