Re: Clojure Eclipse Getting Started Question

2010-06-02 Thread Shikhar Mishra
Thanks Matt, that did the trick. On Tue, May 25, 2010 at 2:16 PM, Matthias von Rohr < matthias.vonr...@gmail.com> wrote: > set the cursor somewhere in your (defn...) expression then press Ctrl > + Alt + x (evaluate in REPL). After that you method call should work. > > Matt > > On May 24, 5:08 pm,

Re: Clojure Eclipse Getting Started Question

2010-05-25 Thread Laurent PETIT
Hi Shikhar, Please also note that by hitting F1 (windows) , Help (Mac) or Ctrl+F1 (Linux/GTK), while in the editor, you go to the help page from within eclipse. Regards, -- Laurent 2010/5/25 Matthias von Rohr > set the cursor somewhere in your (defn...) expression then press Ctrl > + Alt + x

Re: Clojure Eclipse Getting Started Question

2010-05-25 Thread Matthias von Rohr
set the cursor somewhere in your (defn...) expression then press Ctrl + Alt + x (evaluate in REPL). After that you method call should work. Matt On May 24, 5:08 pm, Shikhar wrote: > Hi, >  I've just installed the Counterclockwise plugin and written a hello > world program in a file named "hello.

Re: Clojure Eclipse Getting Started Question

2010-05-25 Thread Shikhar Mishra
Yes, I realized it immediately after send this post. :) Even with the correction I could not get (method "world") to work in eclipse console REPL. I'm going to follow the http://github.com/relevance/labrepl link suggested by another responder. Thanks. On Tue, May 25, 2010 at 7:59 AM, patrik karl

Re: Clojure Eclipse Getting Started Question

2010-05-25 Thread Base
Hi Shikhar - I strongly recommend checking out the labrepl example created by stu halloway. It is a great starting point for eclipse/counterclockwise and helped me quite a bit as a framework for starting new projects. http://github.com/relevance/labrepl cheers. On May 24, 10:08 am, Shikhar wr

Re: Clojure Eclipse Getting Started Question

2010-05-25 Thread patrik karlin
(defn "a method" method [args] (println "Hello" args)) ok so im gonna gess that you should putt the docstring after the name (defn method "a method" [args] (println "hello" args)) 2010/5/24 Shikhar > Hi, > I've just installed the Counterclockwise plugin and written a hello > world program

Clojure Eclipse Getting Started Question

2010-05-25 Thread Shikhar
Hi, I've just installed the Counterclockwise plugin and written a hello world program in a file named "hello.clj" --- (ns hello) (defn "a method" method [args] (println "Hello" args)) -