How to navigate in groups (not tabs) in tool windows - intellij-idea

I'm trying to use Intellij Idea only with the keybord.
How can I navigate between groups/panels (don't know the exact term) within a tab of a tool window?
For example in the Debug tool window → tab debugger how to switch from the Frames panel to Variables panel using only the keybord?
Screenshot
There is a mapping on Alt + -> or Alt + <- to navigate between tabs within a tool window.
But I can't find a way to navigate within the panels of the tab.

i use linux, but maybe windows key + tabor more simple you can map the shortcut from your keybord in the windows settings

Related

Is it possible to view one file in a new window in intellij-idea?

What I actually want to do is to view different files in a some project on different screens.
If they are in different windows, I can easily drag one window to another screen.
It's fine if there are other ways can do this. I'm using windows7.
You can drag the editor tab to another screen and it will open in a separate window. See the Detaching Editor Tabs help section for details.
Shift+F4 does the same:
The shortcut can be changed here:
You have to add a new keyboard shortcut in your keymap.
The action is called Open In New Editor Window
Then when searching for a class using Ctrl + n (go to Class...) or Ctrl + e (recent files)
instead of opening the Class in the same window by pressing Enter
you can open it in a new window using your own keyboard shortcut (Shift + Enter in my case).
Right-click on tab.
Select Move Tab to New Window option.

How to quickly switch different project in intellij

I have to open each intellij instance for each application. And switch between these project are not so efficient. (there's no dependency between these project, so I can not add them into one project). I just wonder is there efficient way to switch between different projects in intellij.
OSX: Press CMD + `
Windows/Linux: Press cntr + `
https://www.jetbrains.com/help/idea/creating-and-managing-projects.html#switch-projects
if you have several opened projects: https://www.jetbrains.com/help/idea/opening-multiple-projects.html
you can use:
Next Project Window: Cntrl + Alt + {
or
Previous Project Window: Cntrl + Alt + }
Edit
jebrains update their Switching Between Open Projects:
https://www.jetbrains.com/help/pycharm/switching-between-projects.html
Next Project Window: Cntrl + Alt + ]
or
Previous Project Window: Cntrl + Alt + [
Set up a keymap shortcut to "Manage Projects...".
This brings up a window that you can type into to quickly search recent projects. It includes currently open projects as well as previously closed projects.
Use search everywhere command (shift + shift) and type Open Recent - you will be able to switch to one of your recent projects.
You could also configure any shortcut you want for this action.
To create shortcut, go to Preferences->Keymap and find Main menu->File->Open Recent.
Try this https://github.com/krasa/FrameSwitcher.
Switching intelliJ windows by searching project name.
If you're a MacOS user: As well as the Command+` and Command+Shift+` keyboard shortcuts which IntelliJ offers to toggle between IntelliJ windows, the OS-level Control+↓ keyboard shortcut is an excellent way to see and navigate between windows of the current app. The screenshot below shows the view which it offers. If you turn on App Exposé in your Trackpad preferences, you can also get to this view by swiping down with three fingers.
To switch between open projects, you can use the following commands of the Window menu:
Window | Next Project Window Ctrl+Alt+]
Window | Previous Project Window Ctrl+Alt+[

Intellij IDEA: Hotkey for "scroll from source"

I can't find a hotkey for the feature "Scroll from Source".
What is the difference between Scroll from Source and Scroll to Source as well?
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.
tldr;
Alt + F1, then 1
First checkout your shortcut key for the "Select In.." item in the Navigate 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:
As a much much much much much better alternative to the scroll from source functionality you can use the Navigation bar.
Note: double clicking on the folder in the navigation bar will scroll to that folder in the Project view, (i.e. the same functionality as scroll from source).
You can show the navigation bar in the view menu, there's also a shortcut for each OS (cmd and up arrow ⌘ + ↑ on OSX, Alt + Home on Linux and Windows)
So it looks like this...
And it allows you to browse through the folder structure containing the file in focus in the main editor.
https://www.jetbrains.com/phpstorm/help/navigation-bar.html
https://www.jetbrains.com/idea/help/navigation-bar.html
https://www.jetbrains.com/webstorm/help/navigation-bar.html
In Ubuntu 18 you can disable shortcut Alt+F1, the super key(windows key) do same thing.
At moment i disable/changed this shortcuts of ubuntu
Alt+F7 --> windows+F7
Ctrl+Alt+L --> windows+L
Alt+F1 --> windows
Another better way:
The Shortcut is called Select in Projec View
The default shortcut is
CTRL+Alt+1
or you can edit this.
Source: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206717285-Scroll-from-source-keyboard-shortcut-?flash_digest=77b77d09d61eff96f7d59697820dee45b2c2041c
UPDATE: Now you can easylly use Shift+Alt+1 in Gnome Keymap or Alt+F1 in Windows Keymap
Blockquote
If I understand correctly you don't want to toggle the option so much as trigger the file browser tool window with the selection being the currently edited file.
Just leave 'Scroll From Source' enabled and open the file browser with Command + 1 on OSX or CTRL + 1(i think) on Windows. The file browser sidebar will be selected and your selection will be highlighted.
This answer also explains the difference between Scroll To and Scroll From: How to make Scroll From Source feature always enabled?
In JetBrains Rider, this action used to be named Locate in Solution Explorer, but is now (v2019.2) named Locate/Select in Solution View and by default (at least with the built-in ReSharper keymap) bound to Alt+Shift+L.

How to open two side by side window in eclipse kepler

Can someone tell me how to open two or more file editor in eclipse kepler?
In before version like helios it can be open by shortcut ctrl + 8.
Which looks something like this in helios
But in kepler I am not able to do this.
Open your file and then Window -> New Editor
I see that in Kepler this feature hasn't a shortcut binding anymore. You can make this yourself by going to Preferences -> General -> keys and search for "new editor". Then click Binding and press the shortcut you want.
You can achieve this indirectly, like first opening both the files then click on your file header in your editor and just drag towards the right.
Eclipse will automatically creates two seperate views like you have shown.
Window / New Editor opens a second editor. It does not seem to have a default key binding.
When the second editor is open drag the tab to open the windows side by side.
What command is Ctrl + 8 bound to in your workspace ? I've looked at 3.8.2 but can't find it (even though I do vaguely remember doing something like this).
There is a way.
Window -> Editor -> Clone
Drag out window to console and it will divide in two parts ..then put both editor side by side.

IntelliJ IDEA, Test Runner Pane, maximize output pane

Is there a way to maximize the output pane of a test?
I can't believe that I have to endure the review process of the stacktrace in this narrow pane!
There is a shortcut (ctrl-shift-up) that make the pane grow a little.
Does anybody know of a shortcut or a button to maximize the pane?
Like in eclipse for the output console (ctrl-m)
Anyway, Idea is great!
It's not possible to maximize it, please vote for the corresponding feature request:
IDEA-64469 Provide a way to view test console output maximized (like double-clicking it?)
Update
It has been implemented as described in the issue:
You can maximize/restore tool window size:
With double-click on toolwindow header
With shortcut Shift+Ctrl+' (Shift+Command+' for Mac OS X)
Via "Resize" actions group (see popup menu for tool window)
On Linux and Windows:Ctrl + Shift + Quote(')
On Mac:Command + Shift + Quote(')
With double-click on toolwindow header
Via "Resize" actions group (see popup menu for tool window)
Tested on 2016.1.1(Linux) & 2018.1.1(Linux).
On my AZERTY keyboad I had to reassign the shortcut to Alt + M and Alt + W (maximize window).
It was maybe not yet implemented in 2013.
Look in Settings -> Keymap
Inside of that, look for "Maximize tool window" item.
Use the assigned shortcut or set one of your preference.
Regards
Before using the Cmd/Ctrl + Shift + Quote shortcut you have to activate the Run/Debug Command Output window, which in my keyboard is Right/Alt + 4 or , Right/Alt + 5 ...