keyboard-shortcuts

How to assign Ctrl+, (control plus comma) as the keyboard shortcut to a WPF menu item?

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...

What are some useful shortcut keys in Visual Studio?

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? ...

Is there any way of create or altering VS Keyboard shortcuts

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...

Is there any way of adding shortcut keys for MenuBar/MenuItem elements in GWT?

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...

Custom shortcut "control + /" gives a beep sound on MacBook (osx 10.6)

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...

WPF KeyGestures - Binding non alphanumeric keys

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...

IntelliJ Idea shortcut for switching to tab by number

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...

Run vim script from vim commandline

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...

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

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? ...

Key bindings not working in eclipse

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. ...

How do I disable default Tkinter key commands?

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. ...

find out the keyboard shortcuts of a window programmatically

is there a way to find out what keys is a window listening for (preferably Windows)? or at least the menu Alt-keys? ...

Application's shortcut keys "swallowed" by child components

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 visual studio how to select word in text editor using keyboard

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? ...

How to locate a file in Solution Explorer 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? ...

how to switch between vs 2008 & IE (web page) after making changes in code written in vs 2008 ?

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...

Aptana - Keyboard shortcut for HTML/JS (jQuery) Preview within the IDE?

Is there an Aptana shortcut button for previewing within the IDE? (rather than having to mouse over to IE) ... ...

WPF KeyGesture not accepting a Shift+Alphanumeric key combination.

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...

HTML Select shortcut key override

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 ...

Python Tkinter Dropdown Menu w/Keyboard Shortcuts

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)? ...