marmistrz
marmistrz

Reputation: 6392

ScalaIDE: code formatting

When I was editing my Java code, I could simply press Ctrl+Shift+F and get my code autoformatted.

Now I'm using ScalaIDE and I found out no option to format the code on-demand. I didn't even found such an option when I searched the Keys section of the preferences. Can you please show me where the option is?

Upvotes: 0

Views: 1546

Answers (1)

insan-e
insan-e

Reputation: 3921

It is same in ScalaIDE, see here. It uses Scalariform internally, where you can specify your settings(Window -> Preferences -> Scala -> Editor -> Formatter). Ctrl+Shift+F works also, check your Eclipse shortcuts again.

Upvotes: 1

Related Questions