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?
Asked
Active
Viewed 342 times
0
-
In eclipse
+ – dsm May 22 '14 at 04:01+F reformats code -at least in Java mode.- Does that not work? -
Unfortunately, it doesn't work for Clojure. – Nick May 22 '14 at 09:13
1 Answers
0
Ctrl+A, then Ctrl+I
Ctrl+A for Select all, Ctrl+I for indent the current line.

ntalbs
- 28,700
- 8
- 66
- 83