I have installed clojure plugins in eclipse so that I can start developing apps on clojure. I am currently in the learning phase. I need to know how can i run a clojure file with a Keyboard shortcut or a single mouse button click in eclipse.
Currently I am running this way,
- I press Ctrl+F11, It launches the REPL
- Then in the REPL I call the function name. For example (hello "world"). I have to type it in literaly in the REPL
What I am looking for.
- I want to press a short cut key
- The output after evaluating the current file should be displayed
How can I achieve this?
Use
Clojure->Load the file in REPLor short cut key Ctrl+Alt+S.It’ll load the file in REPL and show the result.