Re: clooj, a lightweight IDE for clojure

2011-07-25 Thread Laurent PETIT
Hi, I'm just back after some vacations without Internet connections. Please give me a couple more days to emerge from the tons of emails and workload, and I'll gladly help you in any possible ways. Cheers, -- Laurent 2011/7/18 Arthur Edelstein arthuredelst...@gmail.com On Jul 18, 2:31 am,

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Lee Spector
On Jul 18, 2011, at 11:06 PM, Ken Wesson wrote: Or, the traditional thing: full control, but tab or something will reindent the current line, or all lines intersecting the selection if any, to structurally-correct positions based on all of the code above, if tab is hit outside a string

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Clojure Neophyte
- I wish that Swing was prettier on the eye. I love nice GUIs. Me too. I think in the long run the coolest thing will be an in- browser clojure IDE for clojure-in-javascript, especially when multi- threaded javascript becomes available in web browsers. Maybe you should drop Swing and start

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Lee Spector
On Jul 19, 2011, at 3:54 AM, Clojure Neophyte wrote: Again, for Clojure to have wider adoption it should have a beginners' IDE. It shouldn't be distributed just as jar files. FWIW I just double-clicked on the clooj jar and it launched like any other application -- I didn't have to know

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Vincent
nice name ! thanks again for new ide -- 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

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Alessio Stalla
On 18 Lug, 18:40, Arthur Edelstein arthuredelst...@gmail.com wrote: Hi Tamreen, On Jul 18, 5:38 am, Tamreen Khan histor...@gmail.com wrote: It's a little confusing to see what's normally the text for the prompt, user=, be in the window that shows the result. Why can't both the prompt and

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Dave Ray
Cool project, especially if it manages to *stay* lightweight :) It is indeed difficult to build a console with Swing's text components. Actually, I think it's difficult with the out-of-the-box text components in just about any toolkit. They're not designed for it and there are a ton of edge cases

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Arthur Edelstein
FWIW I just double-clicked on the clooj jar and it launched like any other application -- I didn't have to know that it was a jar or even what a jar is. Assuming that this also works on other OSes (I'm using Mac OS X) then I think this is already beginner friendly. I *think* it also

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Arthur Edelstein
Hi Dave, Cool project, especially if it manages to *stay* lightweight :) Thanks -- I hope it will! :) * You might want to take a look at JSyntaxPane (https://code.google.com/p/jsyntaxpane/) for the editor. In theory adding Clojure syntax highlighting should be straightforward and they

Re: clooj, a lightweight IDE for clojure

2011-07-19 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 5:14 PM, abp abp...@googlemail.com wrote: Why is it necessary to press TAB at all? Couldn't auto-indent be the default for a line and only manually reindented lines opt-out until one opts in again using TAB or something? If I add an expression around existing code, I

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Ambrose Bonnaire-Sergeant
This is a first for me, a Clojure IDE that just works. Big thumbs up! Ambrose -- 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

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Tarantoga
Yep, this is great! How about syntax highlighting? On Jul 18, 10:03 am, Arthur Edelstein arthuredelst...@gmail.com wrote: Hi Everyone, I want to let you know about clooj, a small, simple IDE for clojure that I have been developing (in clojure). It's packaged as a single jar file (including

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
This is so cool. Any chance you can use Laurent Petit's Paredit? https://github.com/laurentpetit/paredit.clj Any roadmap for features? Syntax highlight, autocomplete etc? Regards, Shantanu On Jul 18, 12:03 pm, Arthur Edelstein arthuredelst...@gmail.com wrote: Hi Everyone, I want to let you

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lee Spector
I am *very* excited to see this project, which I think could be a great addition to the Clojure world, particularly for newcomers and those of us who teach them. First critical reactions: - I put a high premium on auto-indendentation, and clooj seems to get this right when hitting return

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Adam Burry
- I just created a new project and I get a user prompt in the REPL pane but I can't type anything into that... so I can't actually try it... I click in there but I don't get a cursor there, and typing does nothing. In case it matters I'm running Mac OS 10.6.8 and java -version says:

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Tamreen Khan
It's a little confusing to see what's normally the text for the prompt, user=, be in the window that shows the result. Why can't both the prompt and the results be shown in the same area? On Mon, Jul 18, 2011 at 8:32 AM, Adam Burry abu...@gmail.com wrote: - I just created a new project and I

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Yep, this is great! How about syntax highlighting? Thanks, good suggestion! I'm not a huge fan of most syntax highlighting -- what do you think would be helpful but unobtrusive? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group,

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
On Jul 18, 2:31 am, Shantanu Kumar kumar.shant...@gmail.com wrote: This is so cool. Any chance you can use Laurent Petit's Paredit?https://github.com/laurentpetit/paredit.clj Thanks, that's a very interesting idea. Perhaps, if Laurent doesn't mind! :) Any roadmap for features? Syntax

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Florian, but somehow i can't save ... It always says Oops Unable to save file Sorry, you need to choose File New first, or open a project with existing source files. I will try to fix this issue soon. -- You received this message because you are subscribed to the Google Groups Clojure

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Lee, Tab moves it to the right, shift-tab moves it to the left, but is there a way to say move it to the correct place A very good point -- added to the clooj github issues. - I just created a new project and I get a user prompt in the REPL pane but I can't type anything into that...

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
On Jul 18, 7:24 pm, Arthur Edelstein arthuredelst...@gmail.com wrote: On Jul 18, 2:31 am, Shantanu Kumar kumar.shant...@gmail.com wrote: This is so cool. Any chance you can use Laurent Petit's Paredit?https://github.com/laurentpetit/paredit.clj Thanks, that's a very interesting idea.

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lee Spector
On Jul 18, 2011, at 11:10 AM, Arthur Edelstein wrote: The REPL input is the lower right pane. I think I should add some labels on each pane. Ah yes -- now I see it and that works fine. Thanks also to Adam Burry for pointing this out. As Tamreen Khan noted it's a little confusing that

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
On Jul 18, 3:16 am, Florian Over florian.o...@googlemail.com wrote: Hmm, good idea but somehow i can't save ... It always says Oops Unable to save file When i'm at home i will give it another try. Hi Florian, There are two requirements: 1. You need to have a project open, in a writable

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Tamreen, On Jul 18, 5:38 am, Tamreen Khan histor...@gmail.com wrote: It's a little confusing to see what's normally the text for the prompt, user=, be in the window that shows the result. Why can't both the prompt and the results be shown in the same area? That is a good point. I wanted a

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
The REPL input is the lower right pane. I think I should add some labels on each pane. Ah yes -- now I see it and that works fine. Thanks also to Adam Burry for pointing this out. As Tamreen Khan noted it's a little confusing that there's a prompt in the upper pane while input can only

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
There's allot here I really like. This could end up being the IDE for clojure newbies. I agree though, lein integration would be awesome. One of my biggest complaints against larger IDE's is trying to get them to look at the lein classpaths. Getting the same result in my repl as I get by doing

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Another kick-ass feature would be first-class integration with Leiningen (and likewise, with Cake) - you can discover the list of commands using the lein command without any args. Once you discover the command names you can display it in a menu. When a user clicks one of those menu items,

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
One of my biggest complaints against larger IDE's is trying to get them to look at the lein classpaths. Getting the same result in my repl as I get by doing lein run would be awesome. That's more or less what I've been attempting to do, but I need to check carefully that I have covered the

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 3:03 AM, Arthur Edelstein arthuredelst...@gmail.com wrote: --- more work needed clooj is a work in progress. Your suggestions, criticisms and code contributions are appreciated. Not sure if I'm not misunderstanding the initial creating of a project, but it seems to me

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Not sure if I'm not misunderstanding the initial creating of a project, but it seems to me that I am using a file dialog box for a directory selection. As it wasn't entirely clear what it expected me to do at that point, I just typed in some name without knowing for sure if it was supposed to

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 1:42 PM, Arthur Edelstein arthuredelst...@gmail.com wrote: Not sure if I'm not misunderstanding the initial creating of a project, but it seems to me that I am using a file dialog box for a directory selection. As it wasn't entirely clear what it expected me to do at

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Yes, it does say that now that I'm checking again, I must have missed it the first time around. I just confused it with a regular file dialog box. My feeling about a different style dialog box stands, Thanks for pointing it out; I'll try to fix that. I'm much, much more interested in a the

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Lars Nilsson
On Mon, Jul 18, 2011 at 2:06 PM, Arthur Edelstein arthuredelst...@gmail.com wrote: Tallied. :) What's your favorite keyboard shortcut for invoking smart indent? Is it TAB? I imagine it's still important to be able to indent and de-indent manually, but maybe I'm wrong. I use TAB. Just about the

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
I use TAB. Just about the only file type I edit for which it doesn't do this are Makefiles. C/C++, Clojure/Lisp, O'Caml source files, etc, I use TAB in Emacs and expect it do make the current line indented appropriately, whether I'm at the beginning, end or in the middle of the line. I can't

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
I don't know if it has been mentioned yet, but I'm not getting error-output in the REPL. If I type (println foo) then do CTRL+E I see the REPL spit out the lines I entered, then nothing... Some sort of error feedback would be nice. Timothy -- You received this message because you are

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
You may also consider building a plugin architecture for Clooj. For example, Leiningen support can be built by writing a plugin. That's an interesting idea. How do you envision a plugin architecture should work? From the top of my head it looks like it should be possible to safely maintain

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
All indentation uses spaces. I guess my fear is that users will find it annoying if the TAB key is devoted to smart indentation and space and delete are the only tools for adjusting the indentation manually. But maybe manual indentation is a rare enough that it is better to use TAB for smart

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Shantanu Kumar
So, just to expand the scope - what kind of plugins should be possible: 1. Source control plugins - Git, Mercurial, Subversion... 2. Theme/Look-n-feel plugins 3. Syntax highlight plugin - Clojure, Markdown, Textile, XML, Leiningen project.clj, Rakefile, Ruby 4. Tool plugins -- Leiningen,

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Timothy, Thanks for your message. I don't know if it has been mentioned yet, but I'm not getting error-output in the REPL. If I type (println foo) then do CTRL+E I see the REPL spit out the lines I entered, then nothing... I don't know why are aren't getting an error message. When I

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Hi Shantanu, Just wanted to highlight that both Emacs Clojure-mode and Eclipse/ CounterClockWise use TAB to auto-indent the current line correctly. So, I guess the expectation would be likewise for the respective proportion of Clojure users. Though of course the key bindings should be

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Timothy Baldridge
Java HotSpot 1.6.0_24 64-bit Server VM Windows 7 Professional 64bit Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Anthony Grimes
Check out http://github.com/daveray/seesaw. It might help ease some of that Swing pain. -- 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 -

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread cljneo
Arthur, I can't thank you enough. Two great news in a week, that's awesome. I am eagerly awaiting Wednesday. But please, please, please DON'T ABANDON THIS PROJECT. CLJ Hackers, Please lend a hand. You have no excuse; it is written in Clojure. This is what Clojure needs the most! People

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread abp
Why is it necessary to press TAB at all? Couldn't auto-indent be the default for a line and only manually reindented lines opt-out until one opts in again using TAB or something? On 18 Jul., 22:20, Shantanu Kumar kumar.shant...@gmail.com wrote: All indentation uses spaces. I guess my fear is

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread cljneo
I can't thank you enough for this Arthur. But please please don't abandon this project. Clojure hackers have no excuse to lend you a hand since it is written in Clojure. A newbie IDE is what Clojure needs most. Scheme was used as a first language so why shouldn't people be able to start with

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Ken Wesson
On Mon, Jul 18, 2011 at 5:14 PM, abp abp...@googlemail.com wrote: Why is it necessary to press TAB at all? Couldn't auto-indent be the default for a line and only manually reindented lines opt-out until one opts in again using TAB or something? This is an interesting thought. On the other

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
Thanks to everyone who downloaded clooj, and thanks especially to those of you who kindly provided feedback! I'm really grateful for your help. Since today's release I've made some bug fixes and improvements to tighten up the handling of projects and files, to address some of the issues people

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
This is a very helpful discussion -- I'm going to think about tabs on the hammock. On Jul 18, 8:06 pm, Ken Wesson kwess...@gmail.com wrote: On Mon, Jul 18, 2011 at 5:14 PM, abp abp...@googlemail.com wrote: Why is it necessary to press TAB at all? Couldn't auto-indent be the default for a

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Ken Wesson
On Tue, Jul 19, 2011 at 1:33 AM, Arthur Edelstein arthuredelst...@gmail.com wrote: This is a very helpful discussion -- I'm going to think about tabs on the hammock. Thanks. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true

Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Arthur Edelstein
But please, please, please DON'T ABANDON THIS PROJECT. I'll do my best to hang on. :) Thinking~~: - Maybe we need CLOOJ or something similar for .NET as well. David Miller's work should be rewarded with a CLOOJ of it's own. - A webstart version. - I hope that we don't start to see hundreds