Colin
Colin

Reputation: 67

Eclipse format code equivalent for IntelliJ?

Name says it. Is there an analogue for Ctrl-Shift-F in IntelliJ? I've searched, not found. Thanks much.

Upvotes: 2

Views: 1503

Answers (1)

Andrey Chaschev
Andrey Chaschev

Reputation: 16526

It's Ctrl+Alt+L. I often use it together with incremental expression selection - Ctrl+W and Ctrl+Shift+W to format only the elements around my current edit position.

Upvotes: 5

Related Questions