Show Spacemacs keybinding window somewhere else (i.e. not in the bottom) - spacemacs

I was wondering if there's a way to show Spacemacs' keybinding window (when you press SPC) somewhere else other than in the bottom?
It might be a super obvious solution, but I couldn't find it in the documentation.

yes,phss,it is a super obvious solution,the pop-up window you see is which-key window,and in you .spacemacs file,there is a statement dotspacemacs-which-key-position 'bottom,you can just change bottom to right,then you can see keybinding window in your right.hope this could help you out

Related

Navigate (switch) between 'Find' and 'code preview' in IntelliJ IDEA

Hi I have to make a lot of searches in InteliJ and I want navigate between findings of searched text and code preview of specific file.
I tried to search it on web, and also combination of shortcuts like tab, ctrl+tab and many more but nothing work.. Do you know how to switch between those two windows?
right now I have to click it with mouse to focus on one of the windows.
The code preview window is intended to be used as exactly that - a preview, not a UI to be used for complex editing operations. If you need to do anything with the search results, use the "Open in Find Window" button to open the toolwindow with the results. After that, you can use for example Ctrl+Alt+Up/Down to navigate between the occurrences, or other keyboard shortcut to switch between the toolwindow and the editor.

How to stop annoying documentation popups in IntelliJ IDEA

Using IntelliJ IDEA 15, I get these constant and annoying documentation popups whenever my mouse is anywhere in the code window for a decompiled class (from a 3rd party jar). It will popup docs for whatever variable/method/class/anything happens to be near my mouse. If my mouse is not near any lines of code, it will popup for the current classfile, so basically I can't browse code unless I move my mouse to another window.
It only happens with decompiled classes, not my normal code. How do I stop these?
Go to File>Settings>Editor>General - in the section 'Other', uncheck 'Show quick documentation on mouse move'.
In later versions of IntelliJ, the path is File>Settings>Editor>Code Editing, and it is under the "Quick Documentation" section.
In my cause, 'Show quick documentation on mouse move' was in Editor > Code Editing:
If you want the documentation bubble but not the popup window, do this:
Place your text cursor on some text which causes the popup.
Press ctrl + q (or whatever keyboard shortcut you have for quick documentation) a couple of times until the popup window disappears, the quick documentation will then revert to the "bubble" on hover.
Under the File/Settings/.., at the top search bar, type in for "Quick Documentation", will point to the location.
Press <F1> button to show/hide this pop-up.

Force-Click in IntelliJ?

I'm pretty new to IntelliJ, I also have Apple's new force-click enabled trackpad. Seems like it'd be super useful to be able to assign force-clicking to a keymap action (like bringing up a javadoc for example). Is there anyway to do this? Right now if I try to assign a force click it comes up as 'Button 1'.
Thanks!
This seems to be supported now in at least 2016.2, but you have to set it up.
For instance to set Force Touch to trigger "Go to Declaration" (navigate to function/class/symbol declaration), go to Preferences->Keymap. Then search for "Declaration". Right click the entry and select "Add mouse shortcut". In the popup, perform a force-touch hard-click. Apply and you're done!

intellij ide shortcut

I was wondering, if anyone know about this kind of shortcut:
lets say I'm searching for something and get a results window with many results, is there a shortcut that can navigate me inside the list without mouse help?
In IntelliJ IDEA 11.0.2
Whenever I do a "Find in Path" using Ctrl+Shift+F and the search completes, the focus is already in the search results and the arrow keys can be used to navigate.
If the focus isn't in the search window, there can be an Alt+# combo that will take you to the window. In my setup, it is Alt+3 (the label on my "Find" tab is "3: Find", so it's easy to see that Alt-3 is the right combo.)
I suspect that I may not understand what you're looking for, but maybe it is helpful.

How to close a file in Intellij using a keyboard shortcut?

I know this is a simplistic question; but I've been using IntelliJ for months now, and can't find this simple feature.
Any idea? Thank you.
Idiot me. CMD-F4 or, as mentioned before, CTRL-F4.
Thank you all. I'll just bury myself now :)
hmm you can't because there is no default key binding for that, at least on OSX, however you can go here and define one:
The standard tip if you don't know how to do something in Idea is "Find Action..." (ctrl+shift+A in Windows) then type what you want to do, in this case close.
You will get a lot of different "close" actions and simply "Close" (ctrl+F4 in Windows) will be one of them.
You can also set a custom key combination in the settings menu
Click on File > Settings and select Keymap from the menu on the left, then scroll down to the Other section and set your preferred key combination for Close Active Editor:
When you double-click on Close Active Editor, a menu pops up allowing you to set a key combination, a mouse gesture, or even an abbreviation for the action. If the shortcut is already set somewhere else (as in my case with Ctrl-W) you'll get a notification and won't be able to set the shortcut until you remove the other one.
As with Matt Ball, I don't use IntelliJ but may also be CTRL+F4...
For MAC user, Cmd-W will close the active tab (file).
On Mac, you might like to use CMD + W, as this is the conventional shortcut for closing things e.g. Tabs in Chrome.
But by default this is usually associated with highlighting the current cursor block, so instead I use CTRL + W, rather than re-assigning.
e.g. (bottom right)
Also works for other IntelliJ IDEs, like WebStorm, etc.
IDEA->File->Setting->Search for "Close Active Editor".
Click on 'Add Keyboard Shortcut' -> Change it to "Ctrl+W". (Overwrite).
BOOM! you are universal now!
I'm on version 2020.4 and this has changed to Ctrl+4