cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

More options for triggering formatting #1111

Open jhalterman opened 9 years ago

jhalterman commented 9 years ago

There is some formatting/indentation that cursive performs automatically when typing, such as properly indenting the beginning of a form. But some formatting, such as indenting map values requires running the "Reformat Code..." action (assuming "align map values" is enabled). It would be great if these bits could be automatically indented while typing, or at least, properly indented when hitting tab without having to run the "Reformat Code..." action, similar to how forms are properly indented when hitting tab.

This goes for any sort of formatting that might occur during a "Reformat Code..." action, but not while typing or hitting tab.

danielcompton commented 9 years ago

Similar to #976.