Invoke popup menu from keyboard
Is this possible? For example, I want to put my cursor on my class or method name in my test case and hit a key to display the popup menu as if I right-clicked on the spot the cursor is at. (a la the Win95 popup menu key, but say, CTRL-P would do just as well)
Kirk
Please sign in to leave a comment.
Yes. There's such action but is isn't mapped to any key sequence by default.
Check out Options/Keymaps/Other/Show context menu.
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Kirk Woll" <kirk@digimax.com> wrote in message
news:20934734.1045683104946.JavaMail.jrun@is.intellij.net...
method name in my test case and hit a key to display the popup menu as if I
right-clicked on the spot the cursor is at. (a la the Win95 popup menu key,
but say, CTRL-P would do just as well)
>
Just tried it under Windows 2000 and it works with the
Win95 popup menu key (next to the right Ctrl key) :)
The only thing is that IDEA does not have a name for
that key and it shows as "Unknown keyCode: 0x0".
Also it would be nice if this mapping is done by
default under Windows (it is the standard).
Marius
Maxim Shafirov wrote:
>>Is this possible? For example, I want to put my cursor on my class or
>>Kirk
I did the same thing; the problem is that the "Windows" key seems to be invoking the same "unknown keyCode": When hitting it, IDEA now opens a context menu as well (plus the Windows Start Menu opens). But since I am not using that key anyway a big deal, that solution is okay.
However, I would be hesitant to assign an "unknown keyCode" to that action by default (who knows what special keys with unknown keyCodes Redmond will come up with in the future...)
No, you cannot make that mapping the default! I tried it
once, but then all German umlauts and special characters
were mapped to the context menu also!
Stephen
hi,
the problem i have is that if i open the context menu via keyboard i am not able to select an entry out of it. Hitting the 'down'-key moves the cursor in the editor window one line down.
It works fine in all tool windows.
regards
eike hirsch
I'm having the exact same problem.
/LF
"eike" <ehirsch@picturesafe.de> wrote in message
news:7380169.1045737889661.JavaMail.jrun@is.intellij.net...
>
not able to select an entry out of it. Hitting the 'down'-key moves the
cursor in the editor window one line down.
>
Did you try build 694? It's fixed there.
r.
"Lars-Fredrik Smedberg" <lars-fredrik.smedberg@mynta.se> wrote in message
news:b32eau$8rl$1@is.intellij.net...
>
>
>
I'm on 693.. ill try 694 then...
Thanx
/LF
"Richard Nemec" <rndzank@attbi.com> wrote in message
news:b32fa4$apg$1@is.intellij.net...
>
am
>
>
did it - works.
thanx
>
No prob. It's not me who fixed that, anyway. :)
There are two special key on a Windows keyboard. I don't
know the exact names, but one is the "Windows" key and it
brings up the Start Menu and the other is what I called
"Win95 popup menu" and it brigns up the context menu.
It looks like you used the "Windows" key instead of the
popup menu. Try the other one, it should work just fine
(under build 694).
Marius
Jens Voss wrote:
>>Just tried it under Windows 2000 and it works with
>>the Win95 popup menu key (next to the right Ctrl key)
>>:)
>>
>>The only thing is that IDEA does not have a name for
>>that key and it shows as "Unknown keyCode: 0x0".
>>
>>Also it would be nice if this mapping is done by
>>default under Windows (it is the standard).
>>