16

I'm using JetBrains Rubymine for developing Rails applications. It's a great IDE but unfortunately I didn't find how to format the hTML or Ruby code.

Any suggestiongs?

Alexandre
  • 13,030
  • 35
  • 114
  • 173

3 Answers3

17

Ctrl + Alt + I for Auto-indent line(s)

For more keymaps.

tiktak
  • 1,801
  • 2
  • 26
  • 46
11

In OS X keymap try this one: +Alt+L

Tetiana Chupryna
  • 1,044
  • 1
  • 11
  • 28
8

Code | Reformat Code... (Ctrl+Alt+L in Windows default keymap).

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904