Expanding and creating code templates in Eclipse when using emacs keybindings
How do I expand code templates in Eclipse when using the emacs keybindings? Is there a hotkey for turning selected code into a template? ...
How do I expand code templates in Eclipse when using the emacs keybindings? Is there a hotkey for turning selected code into a template? ...
I know about using _ instead of &, what I'm looking at is all the Ctrl- type shortcuts. Ctrl Z for undo, Ctrl S for save etc. Is there a 'standard' way for implementing these in WPF applications? Or is it a case of roll your own and wire them up to whatever command/control? ...
I use Remote Desktop occasionally for some programming tasks but the ALT+INSERT keyboard shortcut (cycle through windows) in the client intercepts the default ReSharper generate code shortcut. Does anyone know if it's possible to remap (or disable) that Remote Desktop keyboard shortcut? I would prefer not to have to remap the ReSharper s...
I am trying to get Undo/Redo keyboard shortcuts working in my WPF application (I have my own custom functionality implemented using the Command Pattern). It seems, however, that the TextBox control is intercepting my "Undo" RoutedUICommand. What is the simplest way to disable this so that I can catch Ctrl+Z at the root of my UI tree? I...
Hi, can i in Visual Studio create keyboard shortcut to regionate method and auto-document it with GhostDoc? From this: protected override void OnInit(EventArgs e) { base.OnInit(e); } i want make this: #region protected override void OnInit(EventArgs e) /// <summary> /// Raises the <see cref="E:Init"/> event. /// </summary> /// <p...
Hopefully this is a quickie: I've been doing a lot of Java/Google Web Toolkit work in Eclipse lately and while I've liked it so far I've had one reoccurring issue that is starting to drive me batty. It seems pretty random, but frequent enough to be annoying: If I am doing a lot of copy/pasting I will suddenly find myself being whisked aw...
Below is the code for Ctrl-F (from another SO post). But how do you detect a Ctrl-ForwardSlash? or Ctrl-Slash (note: divide does not work) protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (1 == 1) //keyData == (Keys.Control | Keys.F)) { MessageBox.Show("What the Ctrl+F?"); ...
In visual studio you can select a block of text by holding down <alt> when when selecting text with the mouse. This is very useful for selecting a column of data or text as opposed to the entire line. In Visual Studio 2003-2005 this operation could be performed by holding <alt><shift> in conjunction with the arrow keys but the keyboard ...
I love cocoa style keyboard shortcuts and am constantly frustrated that Terminal doesn't behave in the same way. Does anyone know how to set common cocoa-style keyboard shortcuts in Terminal.app? I found a blog post that describes how to do this in iTerm: http://blog.jcoffin.com/2008/12/06/mac-keyboard-shortcuts-iterm/. However, I like...
Is there an easy way open the parent class code file in visual studio. I know i can use the inherits and go to defintion to go to the base class in C#. But in vb.net the inherits is hidden in designer code for a lot of files I am working on and I'm looking for a simple way to open the parent class. Bonus points for whoever gives me a ...
What is your favorite XCode keyboard shortcut? I am a huge believer in using the keyboard as much as possible (its much faster that way), and I was hoping others could share what they've found to be the most useful. One shortcut per answer please. ...
How can I make an interactive function that interactively read a key from the user (like when you press C-h k) and then writes some line like this: (global-set-key (kbd "C-x C-s") 'hello) where the "C-x C-s" part is replaced appropriately with the read key. Some beginning users have problem making keybindings and in fact I get confus...
Is there a way to assign a shortcut for Minimizing a window the Alt-Space-n sequence in just one keyboardshortcut? With a vbs-script and then assign the shortcut to that script? But how does that script look like? ...
I'm working on an application embedding an activex component. This component has several keyboard shortcuts. Some of them are binded to actions which needs to be intercepted by my application before being run. For example, CTRL+S is binded to the "Save" action, and I have to perform some modifications to the document before the activex...
I'm trying to make shortcut with javascript. It works with FF but not with IE8. I'm using this code - document.onkeydown=function(e) { if(e.which == 83) { alert("hello"); } } Please give me a simple code which will support all browsers. Thanks ...
Is there a way to cycle through open windows. I quite often use this when I want to reference something in another file. On windows this would typically be CTRL-Tab, but I can't find a way to do this in XCode on a Mac ...
Hi, I use Aptana plugged in eclipse (winXP) and it just does not take right Alt+C to make & (it is the same with few more other characters), it does not work for any filetype/editor. I tried to find any related key bindings in Preferences but with no success. So, does anyone know how to make it working? Thanks ...
At work I use Visual Studio 2008 and at home I use Xcode 3.2 (and I love both of them). But a major annoyance is the difference in keyboard shortcuts - I will be happily coding and then attempt to perform an autocomplete (Ctrl+Space in Visual Studio, Esc in Xcode) and a GeneralTypingFault will throw a SwearAndHitYourDeskInAnger exceptio...
I am betting this is a really simple question to answer, I just can't get such a simple thing to work. I use a keydown event to detect keys pressed and have several common key combination's to do various operations. if (e.KeyCode == Keys.C && e.Modifiers == Keys.Control && e.Modifiers == Keys.Shift) { //Do work } else if (e.KeyCode...
Hi, In our Java project in Eclipse, we have several build configurations, as we have an engine that when run, builds installation jar for a specific projects according to the parameters it gets, so each build configuration run the same build with different parameters to build installation for a specific project. Currently, I have to go...