Know your IDE: IntelliJ IDEA (part 2) – Navigate Through the Project With Use of Keyboard

Software Engineer
Talk with our tech expert & find initial solutions the challenge, that is currently crucial for your business

Easily search & navigate through the project.

ide-shortcuts

In my previous blog post: Know your IDE part 1 I wrote about editor’s keyboard shortcuts. Today we’re going to find out how to easily navigate through files.

Table of contents:

Searching by the name

If you need to find specific class, instead of searching the phrase in project using Ctrl+Shift+F, you can use Ctrl+N. To search through all file names use Ctrl+Shift+N or Ctrl+Alt+Shift+N for symbols. There is a little secret which allows you to jump to specific line with the search – to jump to line 23, just add :23 at the end of the phrase.

Ctrl+N

If you need to search anything in the IDE (even in settings) click Shift key twice.

Shift+Shift

Latest places

Sometimes after you close a file you need to go back to it, if you don’t remember a name you can use Ctrl+E to see the list of the latest files. You can also use Alt+Shift+Left/Right to iterate over latest focused places. And what is more, by using Ctrl+Shift+E you’ll get the history of focus!

Ctrl+E

Code marking

Did you ever play any RTS game? Most of them give you a possibility to group units to teams by assigning them numbers from 1 to 10. Depends on game, but usually it’s combination like Ctrl+{NUM} for setting the group number and {NUM} to focus on. In Intellij you are in an editor, so the keyboard shortcuts are slightly different: Ctrl+Shift+{NUM} for grouping and Ctrl+{NUM} for a jump and focus to the line.

Ctrl+Num

Jump to…

Is your logic really complex? Sometimes it’s hard to find to which clause it belongs to. There is a shortcut which helps with this. If you want to find beginning use Ctrl+[, if end use Ctrl+]. You can also jump to previous/next symbol in class using Alt+Up/Down. To jump to specific line and column just type Ctrl+G.

Ctrl+Bracket

If you wish to jump to usage of symbol use Ctrl+B. To jump to the implementation of interface use Ctrl+Alt+B

Summary

There are plenty of keyboard shortcuts which may be useful especially for you. Start using them. It might be hard at the beginning, but later on you’ll see they were worth learning. You’ll notice significant change in your development confidence.

What are your favourite navigation shortcuts? Please, share them with us in the comment section below.

Rate this post
Software Engineer
Talk with our tech expert & find initial solutions the challenge, that is currently crucial for your business
Share on facebook
Share on linkedin

Share the article

Piotr Ostapczuk

Software consultation

Fill in the form

The more information you can provide us, the better understanding we have of who will be perfect match for your chat.

Get a reply

Get a reply in only 2 hours and schedule your 15min call.

Receive recommendations

Receive an e-mail with recommendations crafted to your need & business.

Share on facebook
Share on linkedin

We use cookies to ensure you get the best experience on our website.