Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does IntelliJ IDEA have a `Ctrl` + `K`, `Ctrl` + `D` equivalent?

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?

like image 234
JMK Avatar asked Sep 19 '12 18:09

JMK


1 Answers

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.

like image 182
Brian Avatar answered Oct 10 '22 10:10

Brian