eclipseclojurecounterclockwise

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


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?


Solution

  • Ctrl+A, then Ctrl+I

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