How to reformat/reindent Clojure code in Eclipse/CounterClockWise?

345 views Asked by At

When I copy a piece of clojure code into Eclipse, how could I fix the format problem? In some text editors, there's reindent/format command or shortcut, is there a way to handle code formating in Eclipse?

1

There are 1 answers

0
ntalbs On BEST ANSWER

Ctrl+A, then Ctrl+I

Ctrl+A for Select all, Ctrl+I for indent the current line.