Question
I would like to assign the keyboard shortcut "Ctrl+," (control plus comma) to the "Preferences..." menu item. How do I do that?
There is a Key.OemComma in the Key enumeration. I have used Key.OemComma as shown in the code sample below. That works fine functionality-wise. But GUI-wise: the menu item is displayed as
Preference...
Similar Post:
Hidden Features of Visual Studio (2005-2008)?
What are some shortcut keys you know of that make programming faster, easier, or all around more enjoyable?
...
Hi,
I have recently installed Reshaper....this is very good and helpful however it has changed all my keyboard shortcuts e.g. to comment out code it was ctrl+e then c, now it is ctrl+k then c.....this is a pain given that I have got myself into a natural swing of using all the shortcuts and now I have to think everytime I want to use th...
Hi everyone,
I'm trying to add keyboard shortcuts to a GWT menu, same as in most windows applications (for example ALT + F, then O -> activates the "File" menu, then "Open" MenuItem ).
I know it may conflict with browser shortcuts, so I'm interested in a way of disabling those too...
From what I can see google has all kinds of shortcu...
Hi
I am using " control + / " as a keyboard shortcut for my browser extension.
On Macbook (OSX 10.6) the shortcut works but always give a beep sound. On mac mini it works without a beep. What i am doing wrong?
Is control+ reserved for operating system? should i try with "command + /" or something like that?
"control + /" is not docum...
Should be a simple one, but I can't work out how to do it. Using WPF4 I want to Bind Ctrl+- to Zoom Out and Ctrl+= to Zoom In:
<KeyBinding Command="{Binding Content.ZoomInCommand}" Gesture="Ctrl+="/>
<KeyBinding Command="{Binding Content.ZoomOutCommand}" Gesture="Ctrl+-"/>
However, I'm getting errors: in the case of Ctrl+=:
R...
In FireFox, I'm constantly using the ctrl+[1-9] shortcut to switch tabs. Basically ctrl+1 will take me to the first tab, ctrl+2 will take me to the second one and so on.
Is there an equivalent for this shortcut in IntelliJ Idea? (I looked around the keymap settings but couldn't find anything.)
I should mention that I'm a complete begi...
Over the last couple of months, I've built a series of files full of vim-commands to auto-generate boilerplate code for my projects. It's allowed me to work faster.
However, the only way I know how to run these scripts is by assigning them to key-combinations in ~/.vimrc. There's only so many keys I can remap.
Is there a way to run t...
In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser?
...
I installed Eclipse 3.6 64-bit on a fresh Windows 7.
I tried setting some key bindings using the Keys section of the preferences window, namely:
Alt+C - commit using SVN
Alt+U - update using SVN
Alt+R - revert using SVN
It all worked flawlessly in the past on Eclipse 3.5 32bit on Windows XP, but it just doesn't work in my recent setup. ...
I'd like to implement my own key command. However when I do, it does both what I tell it and the default command. How do I disable the default command, so that my command is the only one that runs?
This is on Windows 7, BTW.
...
is there a way to find out what keys is a window listening for (preferably Windows)?
or at least the menu Alt-keys?
...
In my main application Form I have a number of menu and toolbar button functions to which I have assigned shortcut keys such as F10, F11 and F12. The shortcuts work well except for instances where certain controls have focus, such as a 3rd-party grid control. In that case the F11 or other shortcuts are handled by that control and swallow...
In earlier version of Microsoft Visual Studio products if user in text editor hit CTRL+W editor will do select the word where is pointer. Does that keyboard shortcut exists still in Visual Studio 2010?
...
I have a huge solution with multiple projects. Sometime I need to navigate to a file in Solution Explorer. Using the VS 2010 Navigate To feature I can open any file by name in Visual Studio 2010 but I want to be able to select the file in Solution Explorer as well?
...
I am new to the .NET environment. I have not used vs 2008 much more times. I just started to develop some asp.net pages. I can develop asp.net pages & then use the menu bar in vs 2008 to start debugging. When I start debugging the asp.net web page gets displayed in IE. I want to know the trick by which we can make changes in our existing...
Is there an Aptana shortcut button for previewing within the IDE? (rather than having to mouse over to IE) ...
...
I'm attempting to execute some WPF commands with help of WPF KeyGesture class. Application works fine until I specify a key combination consisting of Shift modifier and an alphanumeric key. For example, following instantiation: new KeyGesture(Key.M, ModifierKeys.Shift) throws an exception:
'Shift+M' key and modifier combination is n...
I have dropdown list (HTML select element) which simply contains a heap of dollar amounts. E.g.
$50,000
$100,000
$150,000
$200,000
and so on..
An example of one of the option elements inside it would be:
<option value="150000">$150,000</option>
I want the user to be able to start typing in 1..5..0.. and get it to auto-jump down ...
I would like to have a Dropdown Menu in Tkinter, that includes the shortcut key associated with this command. Is this possible?
EDIT: How would I also add the underline under a certain character, to allow for Alt-F-S (File->Save)?
...