Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code formatting utility for Clojure in Eclipse

Tags:

I'm using Counterclockwise but unfortunately they haven't implemented this functionality yet. Do you have any ideas how can I format my Clojure code automatically in the "lispy" way?

like image 457
Adam Arold Avatar asked Apr 24 '12 17:04

Adam Arold


1 Answers

In the latest version of the Counterclockwise IDE you can simply select all in a file Ctrl+A then press Ctrl+I for "Indent the current line" to properly indent the whole file.

Pressing Tab (regardless of cursor position) will do the same for the line where the cursor resides but it won't work when all lines are selected.

like image 56
Adam Arold Avatar answered Sep 22 '22 11:09

Adam Arold