Categories
|
![]() opensource software
La ClojureProducts: IntelliJ IDEA Vendor: JetBrains Inc. Email: N/A Website: N/A SourceCode: link Description:Provides Clojure language support: syntax and error highlighting, completion, navigation and refactorings
Recent change notes:Plugin version changed to support IDEA 9.0.2General usage instructions:Plugin for Clojure language support in IntelliJ IDEAMain features: 1. Customizable code highlighting 2. Code folding 3. Brace matching 4. Code formatting with customizable indentation 5. Structure view for definitions 6. Go-to definition feature (as go to symbol) 7. Code completion for definitions, special forms, Java instance methods and classes 8. Run configuration for Clojure scripts (both in REPL or as standalone script) 9. Debugger (also working in REPL) 10. Clojure classes compilation 11. Cross-language resolve and completion for Clojure namespaces, definitions and Java packages, classes and members 12. Find usages and rename refactoring for local definitions and symbols 13. Integration with REPL Some hints about installation and usage: 1. Plugin demands for IntelliJ IDEA build #9100 or later. IDEA 8.1 is perfect. Last EAPs may be downloaded from http://jetbrains.net/confluence/display/IDEADEV/Diana+EAP 2. To download plugin use IDEA Plugin Manager (see Settings -> Plugins -> Available) or unzip downloaded archive to $IDEA_SETTINGS/config/plugins/ folder 3. Creating new project or module, choose Clojure among used technologies. All necessary jars will be downloaded automatically. To create new Clojure file, just press Alt-Insret in Project View and choose "Clojure Script" 4. File template for Clojure scripts may be changed in Settings -> File Templates -> Java EE tab -> Clojure 5. To run your Clojure script you may create run configuration manually or press Ctrl-Shift-F10 (in Linux or Windows layout) on appropriate script file opened in editor. In latter case run configuration will be created automatically and script will be run immediately. 6. Structure view window may be invoked on file by pressing Ctrl-F12 (in Linux or Windows layout) or by View -> File Structure Popup action. 7. To navigate to definitions (def, defn, defmacro etc.) use Go-to symbol action. 8. clojure.jar must be attached to a project as a part of some Module, Project or Global library. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Comments:
I just wondered whether there is an update in the works to include Clojure 1.2 (and IDEA 9.0.3)?
Thanks.
I can\'t seem to \"go to symbol\" for a fn defined in another namespace from another module. The other content is loaded in the IDE. In general if we rename on import, does \"go to symbol\" find functions?
Also, no REPL history? Come on guys, this is great and very close to being awesome. Just a few more features.
(.openStream (java.net.URL. "http://www.google.com")) works when using REPL from the windows console, but from the plugin's REPL I get
"java.net.SocketException: Unrecognized Windows Sockets error: 10106: create (NO_SOURCE_FILE:0)"
After running and printing lots of text in the REPL (several thousand lines), manual input is messed up.
As you type, the cursor lags and does not move until you type the next character, by which time it is out of place etc - Meaning you have to manually move the cursor right after each character you type.
After loading a swing app into repl (alt+l), when the swing window is closed the repl finishes with exit code 0.
Then the next time I press alt+l, the entire IDE freezes.
So, please fix it to make sure REPL has not "Process finished with exit code 0" when alt+l is pressed.
Also, it would be nice to change REPL history commands (alt+arrows) ato ctrl+arrows as it is more comfortable to type.
Great work!
home/marcel/.IntelliJIdea90/system/plugins/org.intellij.clojure_8192.zip does not exist for action unzip[/home/marcel/.IntelliJIdea90/system/plugins/org.intellij.clojure_8192.zip, /home/marcel/.IntelliJIdea90/config/plugins]
Any suggestions?
1. The classpath for the REPL launched with a project should include its classpath, so that when you load a file it can find the clojure files in your use/require header.
2. The classpath for the REPL should also be configurable to allow for adding interactive dev dependencies such as jline.
If you guys were to remedy these two features, I think I'd stop using emacs+swank and only use intellij for java/scala/clojure dev.
I tried adding args to the intellij/clojure preferences but didn't see to have any effect.
Thanks,
Thanks and keep up the great work.
I'm using the IDEA Community Edition version #IC-93.13 with the latest La Clojure plugin.
I'm using the IDEA Community Edition version #IC-93.13 with the latest La Clojure plugin.
Try to attach clojure.jar to your project.
Cheers!
Ilya
java.lang.NoClassDefFoundError: clojure/main
Caused by: java.lang.ClassNotFoundException: clojure.main ....Could not find the main class: clojure.main
>The last plugin builds are supposed to be used with IDEA 9 EAP, which may be taken from
>http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP
Installed IDE (9.0 BETA UI-92.65), downloaded the latest plug-in (0.2.173) using the Manager, IDE says it's not compatible. FAIL!
Downloaded the plug-in via the manager (0.2.172)
Does not let me to create a new Clojure file (OK button does not react), REPL not working, and none of the features work.
Manually then downloaded the plug-in (0.2.173), same effect.
Downloaded the latest IntellIJ CE (90.193)
Downloaded the plug-in via the manager (0.2.172), red in the list, not compatible!
Manually installed the plug-in (0.2.173). Cant load it, its red in the list, not compatible?
Can you please test before releasing?
However, Idea just says the plugin is not compatible. Why does Idea let me download the plugin then? This is completely useless!
So, guess I'll stick with netbeans. Too bad, IntelliJ, you won't find me buying your products.
Give it a try. :)
java.lang.Throwable: Extension was already added: com.intellij.javaee.web.facet.WebFacetFrameworkSupportProvider@8be3b3
at com.intellij.openapi.extensions.Extensions$SimpleLogProvider.error(Extensions.java:201)
Never could get the REPL to work. Once I kicked a Clojure script off it would run in the console. The REPL tab just showed a blank panel.
The plugin barely works at all and breaks IDEA (even used a fresh IDEA install to be sure).
We've just uploaded a build for 90.162 (beta).
Sorry for the inconvenience.
Cheers!
Ilya
I have a problem, I cant get La Clojure plugin work in my IntelliJ IDEA!! I trued versions 0.2.160 and 0.2.158. Both gave "Plugin is incompatible with current IntelliJ IDEA installation". I have the following installation:
- WinXP(32 bit) SP3
- JDK 1.6.0_12
- IntelliJ IDEA (Community edition) IC-90.162
Any suggestion?
Regards,
Happily, I was encouraged by Ilya's comments to try a slightly earlier version, 0.2.158, and this works.
Maybe this comment will save frustration for other Clojure users.
No rating yet - I'm just starting!
BTW, for questions like this you may use our forum:
http://www.jetbrains.net/devnet/community/idea/clojure
With best regards,
Ilya Sergey