Hi Lee, 2010/6/29 Lee Spector <lspec...@hampshire.edu>: > > Thanks Laurent. > > Is there automatic Clojure indentation in Counterclockwise now?
There's now auto-indentation (when you hit the Enter key). What is still missing is "bulk" reindentation (whole file at once). There's also a "paredit-like" mode. I've called it "Structural Editing mode", because outside emacs users, "paredit" means nothing. The mode comes in two flavors : the "default mode" and the "strict mode". The default mode is, well, active by default, and does not "block" the user (e.g. a newbie user fighting the editor to add/remove a closing paren). The "strict mode" is my preferred one, it is close to paredit (hitting a closing paren goes right after the closing paren of the enclosing form, etc.). Still perfectible, but already providing great value, I think. One think some may find as a "drawback", some not: paredit functionalities, auto-indentation feature, only work if the code is well structured (balanced parens , double quotes ; writing a wrong "atom" -e.g. a symbol with invalid chars- does no harm to the overall structure, and thus does not disable the features). The best I can offer you as an honest answer is: if you tried it several months ago, it's worth trying it again. You may be surprised, but still consider it does not fit your expectations in critical areas (in this case, please let me know), or you may consider that, while still full of problems, your main expectations are fulfilled and then I'll welcome you onboard. > > I played with it a couple of months ago and saw a lot to like, and if I > recall correctly a lack of indentation support was one of the main reasons I > kept looking for alternatives. I think I was also a little confused by some > of Eclipse's overall complexity and terminology (e.g. "perspectives") coming > from a non-Java world, and maybe by some platform-related mismatches between > the instructions and what I had to do (in Mac OS X) which, though minor, can > still be confusing when starting from zero. I think I could get over these > latter issues if there's indentation now. > > Thanks so much for providing this tool! > > -Lee > > On Jun 29, 2010, at 8:49 AM, Laurent PETIT wrote: > >> The video must be seen in HD if you want to have a chance to see >> anything on it. It has no sound, it's not a problem with your >> computer. >> >> 2010/6/29 Laurent PETIT <laurent.pe...@gmail.com>: >>> Ok, so now, please take a look at this video (it's just 3 minutes), >>> and you'll get a grasp at how easy it is to bootstrap an Eclipse based >>> clojure environment : http://www.youtube.com/watch?v=1T0ZjBMIQS8 >>> >>> Works with eclipse 3.5 and eclipse 3.6. >>> >>> I'm not claiming Eclipse / counterclockwise is better than IDE X or Y, >>> but that I've rarely have complaints in the ml concerning installation >>> problems. >>> >>> Oh, and the video, while a little bit outdated, shows a bunch of >>> already existing features in Eclipse / Counterclockwise : the >>> namespace navigator, the clojure file "outline", navigating from the >>> namespace navigator and the file containing the definition of the var, >>> etc. >>> >>> And to be totally clear, no there is currently no history in the REPL, >>> that's planned on our TODO list. :-) >>> >>> -- >>> Laurent >>> >>> 2010/6/29 Lee Spector <lspec...@hampshire.edu>: >>>> >>>> On Jun 28, 2010, at 5:31 PM, Greg wrote: >>>>> Have you tried IntelliJ with the La Clojure plugin? I tried all 3 IDEs >>>>> and I was most impressed with IntelliJ IDEA. It's not too difficult to >>>>> setup, and once you do it's really nice and has I think all of the stuff >>>>> you asked about (syntax coloring, auto-completion, doc access, etc.). >>>> >>>> >>>> Thanks for the recommendation. Somehow I had overlooked this one >>>> previously. >>>> >>>> I just downloaded and installed it, installed the Plugin (a little weird >>>> that there's no "Download and Install" button when you select the plugin, >>>> and you have to know to right-click, but the assembla instructions told me >>>> I'd have to right click it was okay), but then what? >>>> >>>> The assembla instructions >>>> (http://www.assembla.com/wiki/show/clojure/Getting_Started_with_Idea_and_La_Clojure) >>>> have a section for "To checkout a project from git" and a section for "To >>>> open an existing maven-based project", but I don't want to do either. I >>>> want to write and run some Clojure code from scratch. I'd like a REPL and >>>> an editor buffer or two... >>>> >>>> Starting from Create New Project I clicked through a bunch of dialogs that >>>> I didn't understand, said okay to a warning about not assigning a JDK >>>> (because I didn't know what else to do there), and eventually got what >>>> looks like a project window but not (as far as I see) an editor buffer or >>>> a REPL. >>>> >>>> Returning to the assembla instructions I saw (both in the git section and >>>> in the maven section) "Choose Tools|Clojure REPL|Add new Clojure REPL to >>>> launch a REPL on your project." So I tried this but got "Can't creat REPL. >>>> Clojure home path is not configured correctly!" >>>> >>>> It's possible that this is the environment that I'm looking for, but my >>>> new user experience is not going very well at this point. >>>> >>>> Any pointers would be appreciated. >>>> >>>> Thanks, >>>> >>>> -Lee >>>> >>>> -- >>>> Lee Spector, Professor of Computer Science >>>> School of Cognitive Science, Hampshire College >>>> 893 West Street, Amherst, MA 01002-3359 >>>> lspec...@hampshire.edu, http://hampshire.edu/lspector/ >>>> Phone: 413-559-5352, Fax: 413-559-5438 >>>> >>>> Check out Genetic Programming and Evolvable Machines: >>>> http://www.springer.com/10710 - http://gpemjournal.blogspot.com/ >>>> >>>> -- >>>> 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 >>> >> >> -- >> 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 > > -- > Lee Spector, Professor of Computer Science > School of Cognitive Science, Hampshire College > 893 West Street, Amherst, MA 01002-3359 > lspec...@hampshire.edu, http://hampshire.edu/lspector/ > Phone: 413-559-5352, Fax: 413-559-5438 > > Check out Genetic Programming and Evolvable Machines: > http://www.springer.com/10710 - http://gpemjournal.blogspot.com/ > > -- > 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 -- 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