Re: Clojure + Intellij IDEA: stepping through Clojure implementation code
Hello, Miron. to debug your Clojure scripts in IntelliJ with the appropriate plugin installed, just create new run configuration for .clj file. It may be created automatically via Ctrl(Meta)-Shift-F10 default shortcut. After this you can run it in REPL mode or as a standalone script and put breakpoints if you run it in debug mode (Shift-F9 by default). If you have clojure.jar in one of the libraries you had attached to the module it will be automatically included to the classpath. Normally, when you create a new project clojure.jar is suggested to be downloaded automatically. With best regards, Ilya 2010/1/2 Miron Brezuleanu mbr...@gmail.com Hello, In order to get a better understanding of how some things happen in Clojure, I'd like to step through Clojure code (and I mean the Java code used to implement Clojure). Basically, just debug a REPL, set breakpoints etc. Since there's a free version of IDEA, I downloaded it and successfully created an IDEA project out of existing Clojure sources. Now when I try to get a REPL (by using clojure.main as the startup class), I get an error about clojure/core.clj not being on the classpath. While a very rough solution would be to just move clj/clojure somewhere on the path, I'd like to know how to change the classpath for a module. I did try playing with the module settings and add a 'library' which has a path to clj/clojure, but I must be doing something wrong, as it doesn't seem to affect the -cp option of the java invocation (I'm checking this using the output window). Since I am a complete IDEA newbie, I'd be very happy if someone who is using IDEA to work on Clojure can provide a few pointers. I don't mind trying this with Eclipse, so Eclipse advice is welcome too. Many thanks and Happy New Year everyone, -- Miron Brezuleanu -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: La Clojure plugin for IntelliJ IDEA moved to Git
Since the plugin uses embedded compiler to build classes, I'm not sure that this will be working. Unlike Scala plugin, where the compiler is normally taken from libraries, attached to the module, in the case of Clojure, we decided to stick with fixed compiler. But an ability to use a custom compiler may be added as an option. Cheers! Ilya 2009/10/19 eyeris drewpvo...@gmail.com Once I build the plugin with the latest clojure, can I use it to write code targeting 1.0? On Oct 17, 11:21 am, Ilya Sergey ilyas...@gmail.com wrote: Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. Cheers! Ilya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA moved to Git
Mark, The issue tracker for La Clojure plugin is now located here: http://youtrack.jetbrains.net/issues/CLJ Wilson, Do you mean the ability to `view' the macros definition without navigating to it, or to `inline' it in place? Cheers! Ilya 2009/10/19 Mark Derricutt m...@talios.com Where should we raise tickets/issues for the plugin? One thing I'm really still missing with it is auto completion of aliased namespaces: (ns foo (:require foo.bar.test :as test)) (defn hello [] (test/do-something)) Having the completion of a) the test alias, and b) the contents of test inside hello would be a godsend. On Mon, Oct 19, 2009 at 10:56 AM, Ilya Sergey ilyas...@gmail.com wrote: Hi all. The repository git://git.jetbrains.org/idea/clojure-plugin.git must work now. Sorry for the inconvenience. Cheers! Ilya 2009/10/18 Kurman Karabukaev kur...@gmail.com Hi Ilya, it is asking for password for git.labs.intellij.net:idea/clojure-plugin URL. Kurman On Sat, Oct 17, 2009 at 12:19 PM, Ilya Sergey ilyas...@gmail.com wrote: Ok, try this: g...@git.labs.intellij.net:idea/clojure-plugin Cheers! Ilya 2009/10/17 B Smith-Mannschott bsmith.o...@gmail.com On Sat, Oct 17, 2009 at 18:21, Ilya Sergey ilyas...@gmail.com wrote: Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. No joy. Has your git server gotten slashdotted? [bsm...@meheadable:~/w] $ git clone --bare git://git.jetbrains.org/idea/clojure-plugin.git idea-clojure-plugin.git Initialized empty Git repository in /Users/bsmith/w/idea-clojure-plugin.git/ fatal: The remote end hung up unexpectedly // Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA moved to Git
Hi all. The repository git://git.jetbrains.org/idea/clojure-plugin.git must work now. Sorry for the inconvenience. Cheers! Ilya 2009/10/18 Kurman Karabukaev kur...@gmail.com Hi Ilya, it is asking for password for git.labs.intellij.net:idea/clojure-plugin URL. Kurman On Sat, Oct 17, 2009 at 12:19 PM, Ilya Sergey ilyas...@gmail.com wrote: Ok, try this: g...@git.labs.intellij.net:idea/clojure-plugin Cheers! Ilya 2009/10/17 B Smith-Mannschott bsmith.o...@gmail.com On Sat, Oct 17, 2009 at 18:21, Ilya Sergey ilyas...@gmail.com wrote: Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. No joy. Has your git server gotten slashdotted? [bsm...@meheadable:~/w] $ git clone --bare git://git.jetbrains.org/idea/clojure-plugin.git idea-clojure-plugin.git Initialized empty Git repository in /Users/bsmith/w/idea-clojure-plugin.git/ fatal: The remote end hung up unexpectedly // Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
La Clojure plugin for IntelliJ IDEA moved to Git
Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. Cheers! Ilya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA moved to Git
The last published version works with Maia Community/Ultimate Edition, builds 90.[94-96]. In the near-term future we're going to bind last plugin releases to the actual IDEA CE stable builds. Ilya 2009/10/17 Wilson MacGyver wmacgy...@gmail.com will the new released version work for regular Maia? I look in the plugin download area, and for regular Maia, I don't see the new version built on 10-17. On Sat, Oct 17, 2009 at 12:21 PM, Ilya Sergey ilyas...@gmail.com wrote: Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. Cheers! Ilya -- Omnem crede diem tibi diluxisse supremum. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA moved to Git
Ok, try this: g...@git.labs.intellij.net:idea/clojure-plugin Cheers! Ilya 2009/10/17 B Smith-Mannschott bsmith.o...@gmail.com On Sat, Oct 17, 2009 at 18:21, Ilya Sergey ilyas...@gmail.com wrote: Hi all. After the long silence we resume work on `La Clojure' plugin for IntelliJ IDEA. It is still open-source and available now for IntelliJ IDEA 9 Community Edition. The repository may be cloned now from git://git.jetbrains.org/idea/clojure-plugin.git To build the plugin from scratch you need the latest of Clojure and clojure-contrib jars, so before running ant don't forget to edit clojure.properties file in the root of the `clojure-plugin' project as appropriate. No joy. Has your git server gotten slashdotted? [bsm...@meheadable:~/w] $ git clone --bare git://git.jetbrains.org/idea/clojure-plugin.git idea-clojure-plugin.githttp://git.jetbrains.org/idea/clojure-plugin.git%0Aidea-clojure-plugin.git Initialized empty Git repository in /Users/bsmith/w/idea-clojure-plugin.git/ fatal: The remote end hung up unexpectedly // Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA updated
Vagif, Of course, we have plans to support remoter REPL as well. For now you may use `remote debug' run configuration type to connect to the appropriate application port and debug it. With best regards, Ilya 2009/5/21 Vagif Verdi vagif.ve...@gmail.com Do you have plans to add connect/disconnect to existing running Repl over the network ? Emacs has this mode with slime and it is very handy in developing web applications. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA updated
Hi Toni. Unfortunately for now we don't have neither description of existing features nor complete how-to manual. In fact some details look quite similar to Scala support, which is described here: http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+for+IntelliJ+IDEA We're going to add such description for Clojure support in a few days. With best regards, Ilya 2009/5/20 Antoni Batchelli tbatche...@gmail.com Ilya, where can we find documentation about how to use the new features? ... the information on the plugin page is pretty scarce... Good job by the way! Toni. On May 20, 2009, at 12:00 PM, Ilya Sergey wrote: In last build of La Clojure plugin (thanks to Kurt Christensen) we added REPL integration with history and possibility to load files and evaluate expressions from the editor. With best regards, Ilya Sergey 2009/5/18 Ilya Sergey ilyas...@gmail.com Hello, Asbjørn. For now IntelliJ support of Clojure is rather editor-oriented than REPL-oriented. For now you may only run REPL on some of your files. REPL History and other support is now under development and it will be added in the next release. With best regards, Ilya 2009/5/15 Asbjørn Bjørnstad asbj...@gmail.com On May 14, 2:16 am, Ilya Sergey ilyas...@gmail.com wrote: Hello, all. I'm happy to announce, that new build of the `La Clojure' plugin for IntelliJ IDEA is uploaded into repository and may be downloaded directly fromhttp://plugins.intellij.net/plugin/?id=4050or via IntelliJ plugin manager. Among new features I may name code-aware resolve and completion functionality for Java classes, packages and members as well as for Clojure definitions and namespaces. By many request code indentation and alignment is customizable now, In near-ter future plans are cross-language compilation with Java and multiple editor actions. Hi, I'm a emacs guy, but checked out intellij/La Clojure last night. I may have missed it, but is there a way to compile/eval one form from the editor into a running REPL? That and a command-line history a.la. readline in the REPL what I'm missing from my current workflow. Also, is there a discussion forum for users of the plugin somewhere? -- -asbjxrn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA updated
In last build of La Clojure plugin (thanks to Kurt Christensen) we added REPL integration with history and possibility to load files and evaluate expressions from the editor. With best regards, Ilya Sergey 2009/5/18 Ilya Sergey ilyas...@gmail.com Hello, Asbjørn. For now IntelliJ support of Clojure is rather editor-oriented than REPL-oriented. For now you may only run REPL on some of your files. REPL History and other support is now under development and it will be added in the next release. With best regards, Ilya 2009/5/15 Asbjørn Bjørnstad asbj...@gmail.com On May 14, 2:16 am, Ilya Sergey ilyas...@gmail.com wrote: Hello, all. I'm happy to announce, that new build of the `La Clojure' plugin for IntelliJ IDEA is uploaded into repository and may be downloaded directly fromhttp://plugins.intellij.net/plugin/?id=4050or via IntelliJ plugin manager. Among new features I may name code-aware resolve and completion functionality for Java classes, packages and members as well as for Clojure definitions and namespaces. By many request code indentation and alignment is customizable now, In near-ter future plans are cross-language compilation with Java and multiple editor actions. Hi, I'm a emacs guy, but checked out intellij/La Clojure last night. I may have missed it, but is there a way to compile/eval one form from the editor into a running REPL? That and a command-line history a.la. readline in the REPL what I'm missing from my current workflow. Also, is there a discussion forum for users of the plugin somewhere? -- -asbjxrn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure at JavaOne
Hi all. One of the most important aspects which I would like to be emphasized is the ad-hoc interoperability with Java, such as invocation of Java classes and methods, proxies and compilation to Java class-files. BTW, I will be at JavaOne staying most part of time on JetBrains booth, so if someone is interested in better IDE-support of Clojure I would be happy discuss it or show what we have for now in IntelliJ. With best regards, Ilya Sergey 2009/5/18 falcon shahb...@gmail.com I agree with John. For certain applications, the ability to modify the code while it is running is very useful. Many language comparisons turn into syntax comparisons. Clojure has enough interesting concepts (concurrency model, code as data, macros) that it should be made to stand out. On May 18, 9:30 am, John Newman john...@gmail.com wrote: I believe it was the presentation you gave on the ants simulation, where you updated the program while it was running. I'm not sure if the other languages in the shootout can do that, but I thought that was pretty awesome. I think a display of building an application while it's running in front of you (be that a web app or a desktop app) is flashy and compelling. Not sure how far you could go with that though. 2 cents. Regards, On Mon, May 18, 2009 at 5:42 PM, Laurent PETIT laurent.pe...@gmail.com wrote: As a general idea, I would say : specific to lisp: the possibility to get rid of boiler plate code, such as the one involved in each and every (re)implementation of some GOF design patterns. This could be either a demonstration of the power of higher order functions or macros (the first with higher order functions *can* be done in java, but it is such a pain in the ass to do this right with anonymous functions that it is rarely done in practice, some spring framework frameworks let apart) specific to clojure: a demonstration of the ease of use of concurrent/parallel programming constructs. 2009/5/18 Rich Hickey richhic...@gmail.com: I'll be doing two sessions involving Clojure at JavaOne this June. One is a traditional talk (TS-4164), the other is as a participant in the Script Bowl 2009: A Scripting Languages Shootout (PAN-5348). The 'script' bowl is a friendly competition, basically a place to show off your language and seek audience acclaim. Scripting language gurus returning from 2008 are Groovy, JRuby, Jython, and Scala. This year there is also a new kid on the block: Clojure. There are two very brief rounds, 4 minutes per language each round . round 1: Core language and libraries round (show something really cool with the core language and libraries) round 2: Community round (show some significant community contributions) Note there is no comparative aspect, each language presenter talks up their own language and the audience decides, so it's not an opportunity to draw contrasts explicitly. It's about being pro- Clojure, not anti- anything else. The audience is Java developers, many of whom will have never seen Clojure or any Lisp. I'd appreciate some suggestions *and help* preparing demos for the Script Bowl. What (that could be demonstrated in 4 minutes) would make you think - 'Clojure looks cool, I need to look into it'? What community contribution(s) should we showcase? Thanks, Rich -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: La Clojure plugin for IntelliJ IDEA updated
Hello, Asbjørn. For now IntelliJ support of Clojure is rather editor-oriented than REPL-oriented. For now you may only run REPL on some of your files. REPL History and other support is now under development and it will be added in the next release. With best regards, Ilya 2009/5/15 Asbjørn Bjørnstad asbj...@gmail.com On May 14, 2:16 am, Ilya Sergey ilyas...@gmail.com wrote: Hello, all. I'm happy to announce, that new build of the `La Clojure' plugin for IntelliJ IDEA is uploaded into repository and may be downloaded directly fromhttp://plugins.intellij.net/plugin/?id=4050or via IntelliJ plugin manager. Among new features I may name code-aware resolve and completion functionality for Java classes, packages and members as well as for Clojure definitions and namespaces. By many request code indentation and alignment is customizable now, In near-ter future plans are cross-language compilation with Java and multiple editor actions. Hi, I'm a emacs guy, but checked out intellij/La Clojure last night. I may have missed it, but is there a way to compile/eval one form from the editor into a running REPL? That and a command-line history a.la. readline in the REPL what I'm missing from my current workflow. Also, is there a discussion forum for users of the plugin somewhere? -- -asbjxrn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
La Clojure plugin for IntelliJ IDEA updated
Hello, all. I'm happy to announce, that new build of the `La Clojure' plugin for IntelliJ IDEA is uploaded into repository and may be downloaded directly from http://plugins.intellij.net/plugin/?id=4050 or via IntelliJ plugin manager. Among new features I may name code-aware resolve and completion functionality for Java classes, packages and members as well as for Clojure definitions and namespaces. By many request code indentation and alignment is customizable now, In near-ter future plans are cross-language compilation with Java and multiple editor actions. With best regards, Ilya Sergey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Book erratum (was: Clojure + Java compilation and IntelliJ IDEA plugin)
Hello, Stuart. I've checked examples from book by that address. All of them work fine for me. Moreover, suddenly it turned out, that compilation using IntelliJ IDEA works fine as well.So, sorry for disturbance and thanks for your help. With best regards, Ilya 2009/3/26 Stuart Halloway stuart.hallo...@gmail.com Ilya, I have checked in a unit test for the tasklist example that demonstrates it working correctly locally. Can you try it and see what's different for you? Git repos: http://github.com/stuarthalloway/programming-clojure/tree/master Then bin/runtests.sh or bin\runtests.bat depending on your platform. The individual test is examples/test/tasklist.clj. Thanks, Stu Hi, Stuart. I would like to be able to demo the sample code from the book in IDEA That's great, I'm really happy to hear it. As for all three issues you've mentioned, all of them have same origin and related to so-called evaluator API. What you can see now using debugger is nothing but vanilla Java stack, some of whose variable may coincide with appropriate Clojure variables. Implmentation of watches, evaluate expression or some specific cases like dealing with lazy structures is _very_ non-trivial problem, cause all clojure constructs, written, say, in 'watches' section should be translated to correct Java code to capture appropriate stack and environment from JVM and being evaluated. For now, we solved this problem partially for Groovy, because Groovy is not so hard to translate to Java and we're working on the same problem for Scala, which is much more dificult because of presence of string typeing. As for Clojure, I don't see an easy way for now to implement such feature. For me such tasks as smart completion and resolve have greater priority. BTW, I'm not sure, that thiss issue was already mentioned in errata for book, but I failed to compile tasklist.clj example from last book version (27 feb), because some function (sort of `lazy-eval') from clojure-contrib raised an error during compilation. Same result was obtained by compilation from command line, so I'm afraid some- thing wrong either with current clojure-contrib version or this example. Kind regards, Ilya 2009/3/25 Stuart Halloway stuart.hallo...@gmail.com Hi Ilya, I would like to be able to demo the sample code from the book in IDEA. Here are a few things I am seeing so far: (1) When I set a breakpoint, I get a warning icon that says no executable code found at... but the breakpoint does in fact seem to work. (2) The variable window correctly displays collections, but not large/ infinite sequences. If you try to open a variable view on an infinite sequence, it will use all of memory. Can the plugin be modified to respect the *print-length* and *print-depth* variables? (3) I am unable to set a watch on the special variable *print-length*. The entry UI goes wonky when I reach the hyphen character in the name. It's exciting to see the plugin moving forward, thanks for your efforts! Best, Stu Hello, all. I've just uploaded new version of La Clojure plugin for IntelliJ IDEA. Among several bugfixes and minor changes I have to note several essential moments. 1. Now Clojure support is added as so-called `facet', which may be attached to every module. Creating new module, just choose Clojure among desired technologies. In this case necessary clojure jar will be downloaded automatically and adjusted as a project library unless you point to it manually. 2. If you open existing project, clojure facet will be detected automatically. For now facet serves as a label for clojure-aware modules. In that modules you may invoke create new clojure file action and their clojure files will be compiled. 3. From now IntelliJ IDEA provides support for batch compilation of Clojure files, whose namespace is marked by :gen-calss tag. Compiled classes will be places to the appropriate output directory of a module. One may choose, which sources should be compiled first - Java or Clojure to resolve one-way dependencies. By default Clojure is compiled first. Moreoverm you may to choose whether to copy *.clj files to output path or not (this might be useful if you're going to invoke some functions from *.clj files dynamically). And, of course, automatic detection and compilation of class-labeled clojure files may be switched off. For more details see File - Settings - Compiler - Clojure. For someone these settings might seem not sufficiently flexible. So, all comments and proposals are appreciated. :) With best regards, Ilya Sergey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com
Clojure + Java compilation and IntelliJ IDEA plugin
Hello, all. I've just uploaded new version of La Clojure plugin for IntelliJ IDEA. Among several bugfixes and minor changes I have to note several essential moments. 1. Now Clojure support is added as so-called `facet', which may be attached to every module. Creating new module, just choose Clojure among desired technologies. In this case necessary clojure jar will be downloaded automatically and adjusted as a project library unless you point to it manually. 2. If you open existing project, clojure facet will be detected automatically. For now facet serves as a label for clojure-aware modules. In that modules you may invoke create new clojure file action and their clojure files will be compiled. 3. From now IntelliJ IDEA provides support for batch compilation of Clojure files, whose namespace is marked by :gen-calss tag. Compiled classes will be places to the appropriate output directory of a module. One may choose, which sources should be compiled first - Java or Clojure to resolve one-way dependencies. By default Clojure is compiled first. Moreoverm you may to choose whether to copy *.clj files to output path or not (this might be useful if you're going to invoke some functions from *.clj files dynamically). And, of course, automatic detection and compilation of class-labeled clojure files may be switched off. For more details see File - Settings - Compiler - Clojure. For someone these settings might seem not sufficiently flexible. So, all comments and proposals are appreciated. :) With best regards, Ilya Sergey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure + Java compilation and IntelliJ IDEA plugin
Hello, Mark. The easiest way to updae plugin from within the idea is to use plugin manager (see File - Settings - Plugins), find Clojure plugin in the list, right-click on it and hit update. AFAIK, you also must see kind of blinking gear in the bottom right corener of IDEA main screen, which assumes, that you have some plugins to update. With best regards, Ilya 2009/3/26 Mark Engelberg mark.engelb...@gmail.com If we've already downloaded the first plugin, what's the best way to upgrade? Do you have to delete the first one, or just install the second on top? Is there a way to update the plugin from within the IDE? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure + Java compilation and IntelliJ IDEA plugin
Hello, Christian Could you explain the reasoning behind compiling the Clojure code before the Java code? It's very good question, and to be honest I don't know exact question for it. I may imagine both cases from Clojure to Java and vise versa. Making first variant default I was followed by one letter I had received. It was about some project written in IDEA, where Clojure is used for core funcationality whereas al UI is written in Java via UI designer. Untill we have no stub-generation (as it was done in Groovy) or Java code analysis like in Scala only one consistent solution will be to define compilation order explicitly. Tricky project decomposion into modules may help to resolve cross-languge dependencies. With best regards, Ilya 2009/3/25 Christian Vest Hansen karmazi...@gmail.com Sounds great :) On Wed, Mar 25, 2009 at 4:42 PM, Ilya Sergey ilyas...@gmail.com wrote: Hello, all. I've just uploaded new version of La Clojure plugin for IntelliJ IDEA. Among several bugfixes and minor changes I have to note several essential moments. 1. Now Clojure support is added as so-called `facet', which may be attached to every module. Creating new module, just choose Clojure among desired technologies. In this case necessary clojure jar will be downloaded automatically and adjusted as a project library unless you point to it manually. 2. If you open existing project, clojure facet will be detected automatically. For now facet serves as a label for clojure-aware modules. In that modules you may invoke create new clojure file action and their clojure files will be compiled. 3. From now IntelliJ IDEA provides support for batch compilation of Clojure files, whose namespace is marked by :gen-calss tag. Compiled classes will be places to the appropriate output directory of a module. One may choose, which sources should be compiled first - Java or Clojure to resolve one-way dependencies. By default Clojure is compiled first. Could you explain the reasoning behind compiling the Clojure code before the Java code? While trying out Daniel Spiewaks Clojure enabled Buildr, which also compiles the Clojure code first, I noticed that I could not access static methods of the classes that were defined in Java code. I have not tested this, but I would assume that type hinting using these classes don't work either. On the other hand, Java works with Clojure through the classes and interfaces defined in clojure.jar, and resolves their Vars at run time. The 'gen-class case stands as an example where you might have to compile Clojure first, but I wonder if this is the typical case? Moreoverm you may to choose whether to copy *.clj files to output path or not (this might be useful if you're going to invoke some functions from *.clj files dynamically). And, of course, automatic detection and compilation of class-labeled clojure files may be switched off. For more details see File - Settings - Compiler - Clojure. For someone these settings might seem not sufficiently flexible. So, all comments and proposals are appreciated. :) With best regards, Ilya Sergey -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure + Java compilation and IntelliJ IDEA plugin
Hi, Stuart. I would like to be able to demo the sample code from the book in IDEA That's great, I'm really happy to hear it. As for all three issues you've mentioned, all of them have same origin and related to so-called evaluator API. What you can see now using debugger is nothing but vanilla Java stack, some of whose variable may coincide with appropriate Clojure variables. Implmentation of watches, evaluate expression or some specific cases like dealing with lazy structures is _very_ non-trivial problem, cause all clojure constructs, written, say, in 'watches' section should be translated to correct Java code to capture appropriate stack and environment from JVM and being evaluated. For now, we solved this problem partially for Groovy, because Groovy is not so hard to translate to Java and we're working on the same problem for Scala, which is much more dificult because of presence of string typeing. As for Clojure, I don't see an easy way for now to implement such feature. For me such tasks as smart completion and resolve have greater priority. BTW, I'm not sure, that thiss issue was already mentioned in errata for book, but I failed to compile tasklist.clj example from last book version (27 feb), because some function (sort of `lazy-eval') from clojure-contrib raised an error during compilation. Same result was obtained by compilation from command line, so I'm afraid some-thing wrong either with current clojure-contrib version or this example. Kind regards, Ilya 2009/3/25 Stuart Halloway stuart.hallo...@gmail.com Hi Ilya, I would like to be able to demo the sample code from the book in IDEA. Here are a few things I am seeing so far: (1) When I set a breakpoint, I get a warning icon that says no executable code found at... but the breakpoint does in fact seem to work. (2) The variable window correctly displays collections, but not large/ infinite sequences. If you try to open a variable view on an infinite sequence, it will use all of memory. Can the plugin be modified to respect the *print-length* and *print-depth* variables? (3) I am unable to set a watch on the special variable *print-length*. The entry UI goes wonky when I reach the hyphen character in the name. It's exciting to see the plugin moving forward, thanks for your efforts! Best, Stu Hello, all. I've just uploaded new version of La Clojure plugin for IntelliJ IDEA. Among several bugfixes and minor changes I have to note several essential moments. 1. Now Clojure support is added as so-called `facet', which may be attached to every module. Creating new module, just choose Clojure among desired technologies. In this case necessary clojure jar will be downloaded automatically and adjusted as a project library unless you point to it manually. 2. If you open existing project, clojure facet will be detected automatically. For now facet serves as a label for clojure-aware modules. In that modules you may invoke create new clojure file action and their clojure files will be compiled. 3. From now IntelliJ IDEA provides support for batch compilation of Clojure files, whose namespace is marked by :gen-calss tag. Compiled classes will be places to the appropriate output directory of a module. One may choose, which sources should be compiled first - Java or Clojure to resolve one-way dependencies. By default Clojure is compiled first. Moreoverm you may to choose whether to copy *.clj files to output path or not (this might be useful if you're going to invoke some functions from *.clj files dynamically). And, of course, automatic detection and compilation of class-labeled clojure files may be switched off. For more details see File - Settings - Compiler - Clojure. For someone these settings might seem not sufficiently flexible. So, all comments and proposals are appreciated. :) With best regards, Ilya Sergey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Question about IntelliJ Plugin
Oops, my bad. Could you create appropriate ticket for us to fix it? With best regards, Ilya 2009/3/14 CuppoJava patrickli_2...@hotmail.com Hi Mark, The classpaths for the IntelliJ plugin are not quite setup properly. This is how I'm working around this. Clojure requires the folder that contains the clojure source code to be in the classpath. I did this in IntelliJ, by attaching a new library to the current project which points to the src folder of the project. Hope this helps -Patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hi Patrick. I'd recommend to you to build plugin by yourself. It's very, very simple. Just check-out it from following svn root: http://svn.jetbrains.org/idea/Trunk/clojure-plugin After that change clojure.properties file to make two variables point to your $JAVA_HOME and IDEA installation directory appropriately. Next, run ant in the same directory. You'll get two archives - with plugin itself and sources. Unzip the first one to $IDEA_SETTINGS/ config/plugins folder and restart IDEA. Kind regards, Ilya On Mar 12, 3:50 pm, CuppoJava patrickli_2...@hotmail.com wrote: Hi Ilya, I'm just wondering if it's possible for you to release a quick version update with the latest changes incorporated. I'm interested in the fixes to the namespace-qualified keywords, and the keyword indentation rules specifically. Thanks a lot -Patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hi Mike. What are you talking about assume compilation of Clojure classes. For this we have to implement first some script, which will compile some of your files. You're first who asked for such functionality and this is really cool. So, we're going to implement it in near-term future. It seems to be a good tactics to compile all files with namespaces labeled by :gen-class to the same output path as vanilla java classes before compiling Java part (to allow the latter refer to appropriate Clojure classes). With best reagrds, Ilya On Mar 11, 1:35 am, AlamedaMike limejui...@yahoo.com wrote: Hi Ilya, I would like to use the IntelliJ IDEA to create a GUI in the forms designer and then code the rest of the app in Clojure. I would like both Java and Clojure code to be registered in a single project and compiled together. If you can do that, you've got yourself another sale. Can you tell me the current capabilities / future plans with this? Thanks. Mike On Mar 10, 2:30 pm, Ilya Sergey ilyas...@gmail.com wrote: Hi, Howard Yes, we support debugging for Clojure scripts (even from libary). To launch debugger, create run configuration (for this you may just press Ctrl-Shift-F10 on appropriate script to be run) and launch it in debug mode (Shift-f9 in Linux/Windows keymap). You may set breakpoints and navigate through call stack. Evaluate expression in Clojure-style is not supported now, but it is coming soon. With best regards, Ilya On Mar 10, 6:44 pm, Howard Lewis Ship hls...@gmail.com wrote: Is there any kind of debugger support (now, or coming?). On Tue, Mar 10, 2009 at 8:10 AM, Tom Ayerst tom.aye...@gmail.com wrote: Liking it so far. Can you get jline style functionality into the REPL, I really miss it. Cheers Tom 2009/2/27 AndrewC. mr.bl...@gmail.com On Feb 26, 7:08 pm, CuppoJava patrickli_2...@hotmail.com wrote: Hello Ilya, Thanks for the workaround. I'm glad to hear you're working on a surround with feature. Some other parenthesis commands that I most commonly use is: 1) Delete next Sexp. 2) Splice Sexp. (Remove the parenthesis around the current sexp). 3) Move cursor to next/previous sexp. Don't forget Barf and Slurp! Barf - eject an Sexp from this Sexp (front and back): (a b c) - (a b) c (a b c) - a (b c) Slurp - incorporate an Sexp into this Sexp (front and back): (a b) c - (a b c) a (b c) - (a b c) Also copy this sexp, cut this sexp. All vital! -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hi, Tom. Can you get jline style functionality into the REPL Sure, we're working on it now. With best regards, Ilya On Mar 10, 4:10 pm, Tom Ayerst tom.aye...@gmail.com wrote: Liking it so far. Can you get jline style functionality into the REPL, I really miss it. Cheers Tom 2009/2/27 AndrewC. mr.bl...@gmail.com On Feb 26, 7:08 pm, CuppoJava patrickli_2...@hotmail.com wrote: Hello Ilya, Thanks for the workaround. I'm glad to hear you're working on a surround with feature. Some other parenthesis commands that I most commonly use is: 1) Delete next Sexp. 2) Splice Sexp. (Remove the parenthesis around the current sexp). 3) Move cursor to next/previous sexp. Don't forget Barf and Slurp! Barf - eject an Sexp from this Sexp (front and back): (a b c) - (a b) c (a b c) - a (b c) Slurp - incorporate an Sexp into this Sexp (front and back): (a b) c - (a b c) a (b c) - (a b c) Also copy this sexp, cut this sexp. All vital! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hi, Howard Yes, we support debugging for Clojure scripts (even from libary). To launch debugger, create run configuration (for this you may just press Ctrl-Shift-F10 on appropriate script to be run) and launch it in debug mode (Shift-f9 in Linux/Windows keymap). You may set breakpoints and navigate through call stack. Evaluate expression in Clojure-style is not supported now, but it is coming soon. With best regards, Ilya On Mar 10, 6:44 pm, Howard Lewis Ship hls...@gmail.com wrote: Is there any kind of debugger support (now, or coming?). On Tue, Mar 10, 2009 at 8:10 AM, Tom Ayerst tom.aye...@gmail.com wrote: Liking it so far. Can you get jline style functionality into the REPL, I really miss it. Cheers Tom 2009/2/27 AndrewC. mr.bl...@gmail.com On Feb 26, 7:08 pm, CuppoJava patrickli_2...@hotmail.com wrote: Hello Ilya, Thanks for the workaround. I'm glad to hear you're working on a surround with feature. Some other parenthesis commands that I most commonly use is: 1) Delete next Sexp. 2) Splice Sexp. (Remove the parenthesis around the current sexp). 3) Move cursor to next/previous sexp. Don't forget Barf and Slurp! Barf - eject an Sexp from this Sexp (front and back): (a b c) - (a b) c (a b c) - a (b c) Slurp - incorporate an Sexp into this Sexp (front and back): (a b) c - (a b c) a (b c) - (a b c) Also copy this sexp, cut this sexp. All vital! -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: IntelliJ Clojure Plugin - Minor Indentation Issues.
Hello. Look at last plugin version. I've changed rules for indentation and alignment in Clojure files. Now all forms inside function call are aligned by its _second_ elemnt, i. e. first argument as in the following example: (defn select-keys Returns a map containing only those entries in map whose key is in keys [map keyseq] (loop [ret {} keys (seq keyseq)] (if keys (let [entry (. clojure.lang.RT (find map (first keys)))] (recur (if entry (conj ret entry) ret) (rest keys))) ret))) So, all argument forms in function call are aligned. If first element of a list is not symbol, then alignment is performed by its offset: (defn str With no args, returns the empty string. With one arg x, returns x.toString(). (str nil) returns the empty string. With more than one arg, returns the concatenation of the str values of the args. {:tag String} ([] ) ([#^Object x] (if (nil? x) (. x (toString ([x ys] ((fn [#^StringBuilder sb more] (if more (recur (. sb (append (str (first more (rest more)) (str sb))) (new StringBuilder #^String (str x)) ys))) With best regards, Ilya On Mar 2, 2:05 am, Asbjørn Bjørnstad asbj...@gmail.com wrote: I'm not an Intellij user, but: On Mar 2, 2:22 am, CuppoJava patrickli_2...@hotmail.com wrote: After using La Clojure a bit more, I noticed a few minor issues with the indentation system. Inside a let form binding, the next line should be indented to one character past the opening bracket. eg. should be like: (let [i hi j hi]) where j lines up with i. Agree on this. Also Nested forms, IMO, should be indented to be two spaces past the last opening parenthesis. eg. should be like: (let [i (fn [a] (println a))] That's three spaces... I'd say use the common indentation rules, which I thought was on space past the last opening parenthesis. But I just looked at one of the source files, and it's not consistent. When a pretty-printer is in place, I guess that could become the definition of the indentation rules. -- -asbjxrn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: IntelliJ Clojure Plugin - Minor Indentation Issues.
Patrick, Please, create a ticket in our bugtracker for this issue: http://jetbrains.net/jira/browse/CLJ With best regards, Ilya Sergey On Mar 1, 7:22 pm, CuppoJava patrickli_2...@hotmail.com wrote: After using La Clojure a bit more, I noticed a few minor issues with the indentation system. Inside a let form binding, the next line should be indented to one character past the opening bracket. eg. should be like: (let [i hi j hi]) where j lines up with i. current behavior: (let [i hi j hi]) where j lines up with [ Also Nested forms, IMO, should be indented to be two spaces past the last opening parenthesis. eg. should be like: (let [i (fn [a] (println a))] current behavior: (let [i (fn [a] (fn [a] (println a)))] Those are the only two issues I've noticed so far. Everything else is working perfectly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: IntelliJ Clojure Plugin - Minor Indentation Issues.
Patrick, Please, create a ticket in our bugtracker for this issue: http://jetbrains.net/jira/browse/CLJ With best regards, Ilya Sergey On Mar 1, 7:22 pm, CuppoJava patrickli_2...@hotmail.com wrote: After using La Clojure a bit more, I noticed a few minor issues with the indentation system. Inside a let form binding, the next line should be indented to one character past the opening bracket. eg. should be like: (let [i hi j hi]) where j lines up with i. current behavior: (let [i hi j hi]) where j lines up with [ Also Nested forms, IMO, should be indented to be two spaces past the last opening parenthesis. eg. should be like: (let [i (fn [a] (println a))] current behavior: (let [i (fn [a] (fn [a] (println a)))] Those are the only two issues I've noticed so far. Everything else is working perfectly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Debugging Clojure with IntelliJ IDEA
Hello, all. Last build of La Clojure plugin for IntelliJ IDEA now supports debug for Clojure programs. It could be downloaded from http://plugins.intellij.net/plugin/?id=4050 Moreover, we've implemented completion for Java instance methods and implicitly imported classes. With best regards, Ilya Sergey JeetBrains Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Debugging Clojure with IntelliJ IDEA
Hello. What do you mean by automatically indent? If you press enter inside a Sexpr, vector or map, indentation will be ferformed automatically. Kind regards, Ilya On Mar 1, 1:37 am, CuppoJava patrickli_2...@hotmail.com wrote: Wow it's incredible how fast your progressing on the plugin. It's already a joy to use. Thank you very much. Is there a way to automatically indent when I press Enter? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hello. Simplest way to run empty REPL is to create empty Clojure script and invoke new run configuration on it (marking appropriate checkbox in configuration settings). In next version we're going to integrate support for background REPL, but for now we have no, so there is no possibility to load some file or Sexpr from editor by keyboard shortcut. You should restart script or paste Sexpr to REPL console manually. So, a support for this feature is a min priority for now. As for parentheses, what kind of support do you mean? We're going to implement so-called surround with feature, to help simply surround selected code fragment with parentheses. for now you can use Ctrl-W shortcut to select nested forms incrementally in editor. With best regards, Ilya Sergey On Feb 26, 7:48 am, CuppoJava patrickli_2...@hotmail.com wrote: Hi Ilya, I also just started using the plugin and it's very good. Thank you for this great plugin. I have a few questions about how to use it though: How to I start a REPL without loading a script? Just a blank slate REPL? Is there a shortcut for Sending current sexp, or selected text to REPL? May I ask what your upcoming priorities are for the project? I would love for a basic Paredit to be supported. Parenthesis are just too much trouble to maintain manually. Thanks again for the great work -Patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure plugin for IntelliJ IDEA published
Hello, Robert. Thank you for kind words. Yes, this plugin is officially supported, you may post any issues to mentioned bugtracker. But I prefer to use my gmail address for Google Groups service. Kind regards, Ilya Sergey On Feb 25, 5:22 pm, Robert Lally rob.la...@gmail.com wrote: I've been using this since yesterday, and it really is very good. Up until now, I've been thrashing between aquamacs, vim and textmate for my clojure programming, all have been unsatisfying to me in some way. This is certanly a step up. Ilya, I noticed that you posted from a gmail address. Is this an officially supported IDEA plugin or something from your spare time? Rob Lally. 2009/2/24 Ilya Sergey ilyas...@gmail.com Hello, all! I'm happy to present alpha-version of official Clojure plugin for IntelliJ IDEA La Clojure. It may be downloaded from http://plugins.intellij.net/plugin/?id=4050 List of implemented features for now looks as follows: 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 and special forms 8. Run configuration for Clojure scripts (both in REPL or as standalone script) 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. To create new Clojure file, just press Alt-Insret in Project View and choose Clojure Script 4. File template for Clojure scripta 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. I'm going to describe all these hints and features in simple how-to manual. Our bugtracker is available at http://www.jetbrains.net/jira/browse/CLJ Any suggestions are highly appreciated. Many thanks to Peter Wolf and Kurt Christensen for their initiative. Kind regards, Ilya Sergey JetBrains Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Clojure plugin for IntelliJ IDEA published
Hello, all! I'm happy to present alpha-version of official Clojure plugin for IntelliJ IDEA La Clojure. It may be downloaded from http://plugins.intellij.net/plugin/?id=4050 List of implemented features for now looks as follows: 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 and special forms 8. Run configuration for Clojure scripts (both in REPL or as standalone script) 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. To create new Clojure file, just press Alt-Insret in Project View and choose Clojure Script 4. File template for Clojure scripta 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. I'm going to describe all these hints and features in simple how-to manual. Our bugtracker is available at http://www.jetbrains.net/jira/browse/CLJ Any suggestions are highly appreciated. Many thanks to Peter Wolf and Kurt Christensen for their initiative. Kind regards, Ilya Sergey JetBrains Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: IntelliJ Plugin Pre-Alpha 0.03 Available
Hi, Keith. Last version IntelliJ IDEA EAP may be downloaded from http://jetbrains.net/confluence/display/IDEADEV/Diana+EAP Kind regards, Ilya On Jan 28, 1:53 am, Keith Bennett keithrbenn...@gmail.com wrote: Where did you find build version 8.1, #9678? I'm looking at their web site, and all I see is version 8.01, build 9164. Also, when I tried following the instructions for the plugin, startup of Idea never gets past the splash screen. I have a message into JetBrains support about it. - Keith On Jan 23, 4:37 pm, Francesco Bellomi francesco.bell...@gmail.com wrote: IntelliJ 8.1 EAP build 9678 (which is the last released build) Mac Book Pro 10.5.6 java 1.5.0_16 I installed it through Updates / Plugins Host, as explained on the plugin dev site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---