keyboard-shortcuts

How do you disable a DataGridView's keyboard shorcuts?

I've just noticed that DataGridViews have a default shortcut so that whenever you press "Ctrl + H", the DataGridView's editing control backspaces, and can delete your entire selection within the cell. This can get quite annoying since I want to open a Replace box whenever Ctrl H is pressed. Is there any way to stop the backspacing whil...

Silverlight handling multiple key press combinations.

I have a Silverlight application in which I catch certain key presses such as TAB or CTRL to perform some action. However, I want to be able to handle multiple keys pressed at the same time such as CTRL + R or something like that. Is there any way to do that in Silverlight, and if so, how? Thank you in advance. ...

IntelliJ shortcut for inserting a null check?

Is there a shortcut for inserting the code: if (someParameter == null) throw NullPointerException("someParameter is null"); ...

Emacs shortcuts for IDEA IDE?

I'm just switching from Emacs to IDEA and it would be a great help to me if I could use shortcuts like Ctrl-A for jump-to-line-start. etc. Is this possible? ...

showing divs using keyboard commands

is it possible to show/hid a div on a webpage if say three keys are pressed in the correct order on a normal keyboard.... Im trying to hide my login div in drupal and only want it to show if I press say three keys on the keyboard. Dosnt matter if it shows up in source. any thoughts/links? cheers ...

Eclipse keyboard shortcuts for VisualStudio

I know that there are many questions and answers regarding having VisualStudio keyboard shortcuts in Eclipse. I'm actually interested in the opposite: having Eclipse keyboard shortcuts in VisualStudio. Does anyone know if this is possible? ...

Keyboard shortcut for Show All Files

Has anyone found a keyboard shortcut for the "Show All Files" in the Solution Explorer ? And a related question ... is there any tool that can show the keyboard shortcut for any operation you're doing in VS ? Cheers, SteveC. ...

Learning emacs - useful mnemonics?

Are there any mnemonics or patterns that make memorizing emacs key combos easier? ...

GetForegroundWindow not working when C# program is run from a shortcut key of a desktop shortcut

I'm trying to get a handle to the foreground window in C#/Net 2.0/WinForms by calling the native GetForegroundWindow WinAPI function, in my app's form's constructor. When I run the program directly from Windows Explorer or Total Commander, it correctly identifies the Windows Explorer or Total Commander window. However, if I create a sh...

Eclipse keyboard shortcut: goto function name

Suppose I know a function name, but I dont know which file it's declared in. What's the Eclipse keyboard shortcut to take me to the function I'm looking for. What I'm looking for is similar to Eclipse's: Ctrl + Shift + R except it will search for method names instead. Sidenote With Visual Assist X, I can do this by using the ...

How to know when the question mark key is pressed in silverlight ?

Hello, I have a key down event, How can I know when the question mark ? key is pressed (on all platforms) ? Cheers ...

Hotkey to preview in browser in second monitor while still keeping focus in editor?

I use two monitors. The second one has a browser open. I use Visual studio in the first monitor and making edits to the web page. Would love to press a key and instantly see the change in the browser. Basically doing a refresh in the browser behind the scene and still keep window focus in the editor. Instead of keep switching to the br...

How to handle ctrl+arrow in Javascript?

I've noticed an problem when trying to catch keyboard shortcut: CTRL+an arrow. I've handled keydown event. Now when I hold CTRL key then keydown event is fired once. If I hold an arrow (so that now I'm holding CTRL+an arrow) it doesn't fire another event. Is it forbidden from any reason? I guess I've already encountered this problem in ...

Assigning keyboard shortcut to get path of selected item in windows explorer

I don't know if this is even possible, but how can I bind some key combination to a (C#)program, so that when that keyboard shortcut is pressed with some file selected in windows explorer, it calls specific function with path of that file as a parameter. Or can I assign some keyboard shortcut so that windows explorer opens selected fil...

Visual Studio Windows Forms Designer keyboard shortcuts

Extremely basic question. Are there common actions I can perform using keyboard shortcuts in the Windows Forms designer in Visual Studio (2008)? Alternately, could I add my own keyboard shortcuts (either through settings or macros)? It'd really be nice if I could, for example, set a control to dock/undock in its parent container by ty...

Setting the Windows Forms ToolStripMenuItem ShortcutKeys property to numpad key does not work

We have the ability to define shortcut keys for Windows Forms application menu items. That way I can tell a menu item File->Save to have the shortcut key Ctrl + S and the menu item's handler is "magically" executed after pressing Ctrl + S. The trouble is with the numeric keypad keys, the ShortcutKey property does not accept them (I don...

Changing some character shortkeys for visual studio or any text editor

Hello everybody how can i change some shortkeys on my keyboard ? for examle i prefer use alt + f for { this character. ...

Visual Studio - Is there a keyboard combination to select an entire line?

I already know about Control-L to delete an entire line...is there one to just select an entire line (which I can then copy and paste somewhere else...) ...

Is there an HTML attribute to tell smartphone keyboards to show special email keys?

I notice that when using my touch-screen smartphone (no physical keyboard) that when an app asks for an email address to be entered in a textbox, the on screen keyboard is modified slightly to provide specialized keys that enter blocks of text, like '.com' or push some characters to the foreground key, like '@'. Is there an HTML attribu...

list of keyboard shortcuts for IBM RAD

does anyone know where can I find a list of keyboard shortcuts for IBM RAD 7 ? any help appreciated.. Update: just found Ctrl + Shift + L ( list all shortcuts) seems to work.. anyways would like to see some useful ones.. ...