简体   繁体   中英

Run clojure file in eclipse

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,

  1. I press Ctrl + F11 , It launches the REPL
  2. 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.

  1. I want to press a short cut key
  2. The output after evaluating the current file should be displayed How can I achieve this?

Use Clojure -> Load the file in REPL or short cut key Ctrl + Alt + S .

It'll load the file in REPL and show the result.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM