keyboard-shortcuts

Is there a keyboard shortcut to go to a line number in NetBeans?

I'm using NetBeans for a project, and baffled that I seem completely unable to find a keyboard shortcut to go to a specific line number. Please tell me that it's my googling skills that are lacking, rather than the IDE. ...

does Visual Studio 2010 not have a "join lines" keyboard shortcut?

does Visual Studio 2010 not have a "join lines" keyboard shortcut? EDIT - That is when on line X anywhere, I hit a shortcut key once, and then line X+1 joins to line X (eliminating CR between them so to speak) ...

TextMate - Find & Replace Selected Text

In TextMate, does anyone know how you find & replace selected text? ...

How to see from where a public method is called in Eclipse using Java?

I am working on a Java project in Eclipse. Sometimes when I do refactoring I would like to see from what other classes a public method is called. There is a primitive way to do this, that I am using now. I can comment out the method and see in what classes there is an error in Eclipse. Is there any better way to do this in Eclipse? E.g....

Assign language via keyboard shortcut in Notepad++

I'm using the VibrantInk dark style in NP++. Love it with one exception: the language style settings don't take effect via the file extension - I have to assign it via the menu dropdown to get it to work. (I know how to associate an extension to a file type - that is NOT the problem) So, can someone tell me how to either: 1- assign a ...

run perlscript from emacs (cscript example //C:Perlscript)

i would like to create a shortcut key for emacs to execute this command: cscript example //C:Perlscript with example.pl being the perl script that i want to execute i already got a shortcut key for executing perl: (global-set-key (kbd "") 'perl-eval) how do i make this? ...

How do you bind Home/End to act like Cmd-Left/Cmd-Right in Eclipse on Mac?

Hi guys! This is my first question on SO, so please be gentle :) I've recently started a new job in which I do all of my development in PyDev on Eclipse 3.4.0 on OSX 10.6. Thus, I've been looking for a way to make Home and End act like they do on Windows (my native OS, and where I developed my muscle memory). I've mostly succeeded, b...

How to suppress Control+PageUp/PageDown for a TabControl

This is a C# WinForms app: A TabControl by default will change tabs when the Control+PageUp or PageDown keys are pressed. How do I prevent this behavior? I've tried to handle the event as follows, but the control changes tab pages anyway: private void tabControl_KeyDown(object sender, KeyEventArgs e) { if (ModifierKey...

VS2010 CTRL+M keyboard shortcut has stopped working.

I have a strange problem which seems to have recently appeared. I used to be able to press the keyboard shortcut CTRL+M+O to 'collapse to definitions' in VS2010 when editing code, but it seems suddenly the CTRL+M key seems to have stopped working. When I now press the key combination I get the Open File dialogue. I have tried the obvio...

What options do I have for creating customized keyboard shortcuts?

As I am getting more heavily into programming as a job and no longer as a hobby, I am definitely in need of some ways to improve my productivity. One thing that would definitely help in that respect is being able to create customized keyboard shortcuts for text/code snippets. For instance, holding down CMD+L+O+R+E+M will output a paragra...

Show shortcut keys in ScreenTips in Visual Studio 2010

In Visual Studio 2005 and 2008 you used to be able to mouse over the toolbar and a tooltip would pop up showing the associated shortcut key if you turned on the feature. This feature seems to be missing in VS 2010. Method to configure this feature in 2005 and 2008: http://stackoverflow.com/questions/2151899/display-keyboard-shortcuts-in...

[VS 2010] How to delete all comments in a selected code section?

Every once in a while, my code gets littered with many useless comments, most of them are obsolete lines of code, and some are obsolete "memos to self". So I was wondering if there's a way to just select a code section, and with some magic key combination or macro, delete all of those. Thanks. ...

Keyboard events

How do I call a click event of the link, when some keyboard button is pressed? I would like to call a next/previous page on Ctrl + / Ctrl + ...

In WPF, how do I right justify menu items while keeping keyboard shortcuts?

I recently changed my XAML in order to gain the capability to right-justify menu items such as setting font sizes in the below graphic: File Configure Help +-------------+ +----+ | Font size > |->| 8 | | Speed > | | 10 | +-------------+ | 12 | +----+ Obviously, based on that gr...

Where to get Java eclipse extention\shourtcut for getters setters generation?

So I started to write a POJO class, created public variables and now want to get getters and setters for them (folowing Java Naming Conventions) so I have for example something like package logic; import java.util.Set; import java.util.HashSet; public class Route { private Long id; private String name; private int number; pri...

Snippet Keystroke/Shortcut in Eclipse

So I was using Eclipse and I went to go copy some import statements I had selected but I somehow miss-typed and the coolest thing happened: A snippet package was created and a class Snippet.java was created which looked like this: package snippet; public class Snippet { public static void main(String[] args) { // Selected c...

Quickly navigating through an ASP.NET MVC app in Visual Studio

I spent a fair bit of time developing Rails apps in VIM with an amazing plugin called Rails.Vim Whenever I wanted to navigate to a Model I would hit: esc :Rmodel topic[enter] to find the topic model. In this mode tab completion works so I could hit :Rmo[tab] to[tab][enter] (for an added bonus :RSmodel topic[enter] would split the w...

Rails Development Productivity - Top Textmate Shortcuts

I want to improve my Rails coding productivity using Textmate. Obviously, shortcuts (whether native to Textmate or to the Mac) can greatly assist. What shortcuts give you the greatest bang for your dev buck? ...

How can we add keyboard shortcuts to an mx:MenuBar?

I need some assistance from the Flex experts. I have an mx:Menubar, which I need to be able to open/expand based on the key pressed. For e.g., if shift-R is pressed, it needs to open the 'Request' topmenu. Then if shift-N is pressed, it should load the 'New request' module in the module loader. I've already implemented the MenuBar/modul...

Monitoring Keyboard shortcuts in Silverlight

Hi, I have certain Keyboard shortcuts (ctrl+Key presses) in my Silverlight app which I use to do certain actions using Input Bindings. Now I am trying to monitor what are the shortcuts used most often. I do not want to explicitly log when the user invokes a input binding . I want it to be more generic. Now my question has two parts: I...