I am used to Visual Studio's Ctrl+K, Ctrl+D shortcut to quickly tidy up my C# code, does an equivalent exist in Intellij IDEA for Java?
Asked
Active
Viewed 1.3k times
3 Answers
18
The format code shortcut in IntelliJ IDEA is CtrlAltL.
Here's a list of keyboard shortcuts in IntelliJ IDEA and Eclipse.
Also note that you can configure shortcuts yourself.

Brian
- 17,079
- 6
- 43
- 66
2
You can find all the keyboard shortcuts in [Help Menu] -> [Default Keymap Reference]. It is an excellent PDF that you can print and keep next to your keyboard.

maba
- 47,113
- 10
- 108
- 118