Top 10 Intellij IDEA Shortcuts

There are lots of keyboard shortcuts present in Intellij IDEA which will make your job of writing code much easier and efficient. Below are some of the most frequently used shortcuts, some of them are specific if you are working on a Java Project.

Alt+Enter

This shortcut shows different actions for the current context. It provides quick fixes for any highlighted errors or warnings in your code or it can also provide actions to improve and optimize the code

Ctrl+/

This shortcut can be used to comment or uncomment a line or a block of code

Alt+F7

This shortcut is used to find the usage of a code element across the project

Ctrl+B

This shortcut is used to navigate to the declaration of a method or field

Double Shift

This shortcut is used to search everywhere in the project

Ctrl+F

This shortcut is used to search in the current window

F2

This shortcut is used to navigate between between different errors and warnings

psvm+Tab

This shortcut will create a public static void main() method inside the Java class

psf+Tab

This shortcut will create a public static final method inside the Java class

sout+Tab

This shortcut will create a system.out.println() method inside the Java class

Share

Bijan Patel

Founder & Creator of QAScript | 12+ years of IT Experience | Full Stack Automation Engineer | Blogger | Trainer

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!