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 <shikh...@gmail.com> wrote: > Hi, > I've just installed the Counterclockwise plugin and written a hello > world program in a file named "hello.clj" > <Code> > ------------------------------------------------------------------- > (ns hello) > (defn "a method" method [args] (println "Hello" args)) > -------------------------------------------------------------------- > </Code> > > When I run the above file as Clojure REPL via eclipse > > <Console> > ---------------------------------------------------------------- > Clojure 1.1.0 > 1:1 user=> #<Namespace hello> > 1:2 hello=> (method "World") > java.lang.Exception: Unable to resolve symbol: method in this context > (repl-1:2) > 1:3 hello=> > ----------------------------------------------------------------- > </Console> > > Any thoughts on what I could be doing wrong? Thanks. > > Shikhar > > -- > 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 > athttp://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