Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA: Hotkey for "scroll from source"

People also ask

How do I scroll in IntelliJ?

Horizontal scrolling can be enabled in 'File | Settings | Editor | General | Appearance'. Click-to-scroll toggle mode can be disabled in 'File | Settings | Editor | General | Appearance'. Mouse shortcut can be customized in 'File | Settings | Keymap | Plugins | Fast Mouse Scrolling | Start Fast Mouse Scrolling'.

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

What is Ctrl h in IntelliJ?

Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"

What does Ctrl Shift F do in IntelliJ?

In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


In the latest IntelliJ IDEA, there is a keymap entry called "Select in Project View" with no default shortcut. Just add a shortcut key to it. No need for a plugin.

Keymap|Select in Project View


tldr; Alt + F1, then 1

First checkout your shortcut key for the "Select In.." item in the Navigate menu.

MBP Intellij Menu

Click in the file you're editing, hit the shortcut key for "Select in".. then press 1.

I've changed the hotkey for select in to Alt + 1 so that my key combination is the easy to remember Alt + 1, 1


There is a plugin for this now.

It's called Scroll From source:

https://plugins.jetbrains.com/plugin/7606?pr='


This is now builit in see @Dimitrov answer

https://stackoverflow.com/a/42025214/961018



There's no configurable shortcut in the Keymap settings, and it does not appear in the "Enter action" dialog, so I'm pretty sure it's not (yet) configurable, even if I agree it would be very appreciable.


You can use the navigation bar Shortcut keys as well.

On Mac

Hit + (command and up key)

Hit (left arrow)

Hit + Enter

This will take you to the folder in project view.

It's worth having a play round with the navigation bar.

IntelliJ really have this covered :)


For ubuntu i did ALT+L (cause ALT + F1 is busy), then just enter.


If you are using JetBrains Rider, then the shortcut is Locate in Solution Explorer:

enter image description here