I'm using Intellij IDEA 2017.1.4 (Community Edition). How do I dismiss the file structure view (Navigate > File Structure)? I've been hitting the esc with no results; it stays there until I either choose an item in the list or click elsewhere with my mouse pointer (which is very inconvenient to me).
My problem was due to the esc being used as primary keyboard shortcut for a few other keyboard shortcuts. I'm using Emacs keybindings and I think they were set there by default. The escape function was mapped to esc+esc, which I already knew. To resolve this issue, I looked for all shortcuts whose primary key was esc, and remove that particular binding (or replaced them with something I'm more comfortable with). I also updated the mapping of escape to only use single key press.
I actually also set another binding to the escape functionality, ctrl+G, which also doesn't work to dismiss the file structure view. I think within the context of file structure view, the IDE follows a slightly different set of keybindings so no matter what I map to the escape functionality, it will only honor the single key press of esc.
Related
I am currently using IDEAVim on intelliJ on a 60% keyboard without arrow keys.
I am looking for a way to expand the menu of "Show Intentions Action"(the menu which you get from hitting + ) to the right without having to use the arrow key.
If i just hit enter, it will select and execute the intention instead of giving me a menu to "Suppress" or "Ignore" the intention
You cannot remap any cursor keys for the menu actions in IntelliJ IDEA.
The only workaround I can see if to use some system application to remap the keys depending on the OS you are using. For example, on Windows one can map some keys combination to produce the arrow key code with AutoHotkey or a macro in the third-party keyboard driver settings.
Anything that will produce the same code as the real right arrow key on your system should work.
One of the more annoying aspects of IntelliJ for me is how the default way to delete a portion of text I highlight with my mouse is to press shift+delete, rather than simply delete. I'm aware that I can go to Preferences --> Keymap to customize controls like this, but I'm not sure exactly which function to change and how to set it to the delete key.
I'm using the 2016.1.3 Community Edition for OS X.
I figured out what was going on — I had rather absentmindedly installed the IdeaVIM plugin, which adds weird (vim-like) keybindings, one of which is that you need to press shift+delete to delete a highlighted portion.
When in the file structure popup window, the default key bindings for moving up/down are ↑ and ↓. I prefer to use ⌃P and ⌃N for navigation. Is there any way to change the default settings?
Thanks.
It seems this is not possible at the moment. You may want to vote for the relevant issues 1 and 2.
A workaround (sort of) may be to use the speed search, where you just type a few of the characters of the element you want to navigate to.
In IntelliJ 12, how do I make the popup stop...popping up when I hold Ctrl while hovering over a field/method with the mouse? (see picture)
That is the "Brief Info" action (or at least that is what it is called in the Keymap reference.) To the best of my knowledge (i.e. 10+ years of daily IDEA use including all beta/EAP builds), there is no way to turn it off. Searching the settings for either "Brief Info" or "Info" does not show any pertinent setting. Likewise, searching key mappings for the same does not reveal a mapping. In fact in the keymap settings, you can only map mouse clicks, not mouse pointing (i.e. hovering). You can submit a feature request asking for a setting to disable this feature.
Just put of curiosity, why do you want to disable it? I guess I would never see a case where one would Ctrl+MousePoint unless they wanted to see this. The only case I can think of would be if you disliked it popping up when you go to Ctrl+Click on a symbol. If it is the latter, note that you can use Ctrl+B in place of Ctrl+MousePoint
Try turning off the "autopop" options under /Settings/IDE Settings/Editor/Code Completion.
I found a lot of tutorials and forum questions around remapping key bindings in Textmate and for the most part I know what needs to be done as far as copy the KeyBindings file and then make the changes needed. More on what I am talking about here http://blog.macromates.com/2005/key-bindings-for-switchers/
I am interested in re-mapping the esc key for nextComplete to control + spacebar. The problem is I am having a hard time finding what the code is for the spacebar or if this is even supported.
I mainly do actionscript development in eclipes and code hinting dialogue is triggered by this key combo and I would like to have the same in Textmate. Hitting the esc key kind of sux. I thought I would get used to it but the fact is that it just kills the flow of typing the rest of your code.
I could use some help figuring out what he code is for the space bar. I know control key is the ^ symbol. I tested this by changing the keybinding to ^s and it remapped just fine.
I think this one can be done with the OS X gui:
System Preferences, Keyboard, Click Keyboard Shortcuts Tab
Click the little Plus, and choose Application: Textmate.app, Menu Title: Next Completion, Type Command Space (or Control Space) and click Add and that should work. You might want to remove conflicting shortcuts - possibly spotlight?
For future reference, I used Key Codes to find the key for space is: \UF20