Zerobrane hotkeys to jump between editor tabs and other panes within IDE - zerobrane

Using Zerobrane, are there any defined hotkeys or keymaps that will jump between panes within the IDE? Like, some key to jump between several files open as tabs (jump between tabs). Another is jumping from editor tab pane over to the project pane, etc...

To jump between tabs you can you Ctrl-PgUp/PgDn or Ctrl-(Shift-)Tab. Also, Ctrl-P will open a command panel with the list of currently open files, and after selecting a file from the list press Enter to jump to the tab with that file.
Jumping to Project tab and Console is not available, but moving between tabs there can be done using the same Ctrl-PgUp/PgDn combination. I'll consider adding some hotkey to move between open panes.
Update 7/13: Something like this may work as a simple workaround (add to the IDE config file as Edit > Preferences > Settings: User):
ide:SetHotKey(function()ide:GetProjectTree():SetFocus()end, "Ctrl-Alt-P")
ide:SetHotKey(function()ide:GetOutlineTree():SetFocus()end, "Ctrl-Alt-O")
Other panes (Output/GetOutput(), Console/GetConsole(), etc.) can be done in a similar way.

Related

Open file in a separate pane with a keyboard shortcut in IntelliJ

Is there a keyboard shortcut to open the current file in vertical and/or horizontal split view in IntelliJ?
I know that I can Shift+Enter when I select the file in the Project explorer, but I'd more or less like to move the currently open file into a new pane without having to go to the Project explorer first.
You can assign custom shortcuts for Split and Move Right and Split and Move Down actions in Keymap settings:

How can I see multiple tabs in IntelliJ?

The situation is when I open some files it isn't added on editor tab(red box).
The file that I double-clicked is located in green box with replacing existing file.
problem on editor tab in intellij
I want to see multiple tabs in editor tab in IntelliJ.
But I can see just only one tab like below.
I try to look around settings - Editor - General - Editor tab. But I couldn't find answer.
I wish I could get a hint here. Thank you.
Click on gear on the right -> view options -> Open in a new tab

Can I open a file in a new split screen tab with a keyboard shortcut in IntelliJ?

In VS Code I can press command + P to search for files and then when I find the one I'm looking for I can press Command + Shift + Enter to open the file in a new tab that adds a split pane to the window.
I can browse in a similar way in IntelliJ pressing Shift twice, but I can't figure out how to open the file in a tab in a split pane, just in a new tab in the same pane on pressing Enter. Is there a way to do it?
On the tab line, where all of your files are tabbed and opened, you can right click and see the option Split Vertically and Split Horizontally. They will split your window as needed. You can bind these options to a macro and automatically have anything split in a second.
Then you can just open any file with your explorer, and then run your key combination to split it!
Edit: you can create key mapping from the Settings -> Keymap menu.
Mr. Robot
I think, it's too late to answer this question.
But anyways, there is already a predefined keymap binding as per your requirement to open a new file in a split window.
keymap is Shift + Enter
After searching any file, you just have to press this combination and it will open that new file in a split window.
*This keymap is for Mac, it may be different for other OS.

How do you configure IntelliJ IDEA to place the cursor in the editor window after hitting enter on a file in the project window?

I'm big on not using the mouse, especially while writing code. I've noticed in IntelliJ IDEA 2016.1 that when I'm navigating in the project window, hitting Enter while a particular file is selected opens the file in an editor, but it doesn't place the cursor in the editor. Interestingly, if I double-click on the file in the project window, the cursor is placed in the editor.
How do I configure IntelliJ to place the cursor in the editor after opening the file via Enter from the project window?
To the best of my knowledge, I do not believe there is a way to configure what you are looking for. A search for focus in the settings didn't turn up anything.
That said, hitting Esc when in the project view will return you to the editor. So you would need to do Enter, Esc. If having to type two keys in a row bothers you, you could always record a macro (Edit > Macros) to do that key sequence and map it to a shortcut.

How to set single clicking to open file in IntelliJ IDEA?

And what are counterparts to eclipse's declaration view and javadoc view?
In the Project View click on the "gear" icon and enable the Open Files with Single Click option:
Use Ctrl+Q for Quick JavaDoc and Ctrl+Shift+I for the declaration pop-up.
Now it's available in a simpler way. In the Project View click on the Gear icon and then click Open Files with Single Click:
Go to Preferences and turn on Enable preview tab, that will enable Open Files with Single Click for all projects.
Javadoc opens with Ctrl+Q
There's no declaration view per se, however, you probably will be satisfied with Ctrl+Shift+I shortcut for quick lookup.
Don't know of any ways to configure it to open files on single clicks. Somehow, if you get used to the shortcuts, you skip using mouse very much. For instance, Alt+Home will bring the navigation bar up and you can move with arrows and open the file with Enter. Or just use some other shortcuts like Ctrl+N or Ctrl+E depending on the context.