shortcuts

creating Visual Studio shortcuts keys

There are some things that I do a lot in a new project, for example, entering in a simple call to the Google AJAX API to include jQuery. Can I somehow map my own shortcut combo in VS to have it insert this is when I enter my shortcut? ...

XUL key tag uage

I need to bind key shortcut to $ sign for < key > in XUL I tried keycode="36", modifiers="shift" key="4", key="$" but nothings seems working. Is there any way to do such thing? ...

How to prevent a Beep sound if global keyboard shortcut is pressed in the other application?

Mac OS X 10.6 — Cocoa I'm using global event monitor for displaying status item menu using custom keyboard shortcut: globalEventMonitor = [NSEvent addGlobalMonitorForEventsMatchingMask:NSKeyDownMask handler:^(NSEvent *event) { if ([event keyCode] == kVK_F12) { [self handleGlobalShortcut]; // How to prevent syste...

VIM: Mappable (unused) shortcut letters?

I'm trying to create two mappings which are efficient for myself: map X ddp Which I'd use to delete and paste in one go. map X "_dw Which would delete a word without yanking into a register. However I don't want to break any existing, useful shortcuts so I'm wondering what keys I could use - any suggestions? Am I being too uptidy?...

Is there any shortcut for Navigation Bar in Visual Studio 2008?

In visual studio 2008 you have the navigation bar with Class Name combo box and Method Name combo box. What is the shortcut to get inside any of these combo boxes from the code window? ...

Wix create non advertised shortcut for all users / per machine

In WIX, how do you create a non advertised shortcut in the allusers profile? So far I've only been able to accomplish this with advertised shortcuts. I prefer non-advertised shortcuts because you can go to the shortcut's properties and use "find target". In the tutorials I've seen use a registry value for the keypath of a shortcut. T...

How to remove application shortcut from home screen on uninstall automaticaly?

I'm developing an application that should add it's shortcut to home screen after installation and remove it after the application is being uninstalled. The application will be preinstalled on the end user device, but still should have an option for uninstall). The task looks very simple but I've faced lots of troubles implementing it. W...

"The parameter is incorrect" when clicking pinned item on Windows 7 after updating the application

I have the following situation: Installed my application using ordinary .msi Run the application from the start menu Right click on the icon in the task bar and pin it. Now, I can use the pinned item/short cut to start my application but after I update my app using another .msi file, clicking on the pinned item shows this error: 'Pr...

Resharper 5 Beta - Goto Declaration (CTRL + Click) is not working

In Visual Studio 2010 Beta 2 with Resharper 5 Beta, Goto Declaration (CTRL + Click) is not working. Anybody has solution for that? I tried in google but couldn't find any solution yet. ...

Creating a shortcut for a exe using a batch file

I know a topic already exists like that but I do not want to use a VB script. I would hope you can create a shortcut using a command line in DOS. Please post some example that would be great. Thanks! AA ...

Windows Installer/RunAs shortcut

I have an application on a server in our domain; it's written in C# and uses the Word API. (The app runs through a list of medical reports, each a separate Word document, extracts information which it uses to alphabetize the patient on whom the report is made, and pushes the report content into a PDF.) The app appears to run fine when ...

Binding a WPF ShortCut Key to a Command in the ViewModel

Hi, I have a WPF app that is using the MVVM pattern. Hooking up buttons to the VM is pretty straight forward since they implement the ICommand. I have a context menu that works similar. The next step is to create shortcut keys for the context menu. I can't figure out how to get the shortcut key invoke the Command. Here is an example: ...

TextMate tips for Rails Development

Working on Rails code for a bit has started me on the spiral into obsessively customising my dev environment (I say obsessive as at the last Rails meetup I went to there was some guy who was raving about shaving milliseconds off each line of code and therefore upto half an hour a day... I hope I don't become that guy...) I spend most of...

How do I create a shortcut to CMD.EXE that asks for elevation using INNO Setup?

Hi, using INNO Setup I currently have the following entry under the [ICONS] section: Name: "{group}\My App\My App - Command Prompt"; Filename: "cmd.exe"; WorkingDir: "{app}" This shortcut launches a command prompt straight into my application's folder. Unfortunately it isn't launched as elevated which means the commands the user run...

Getting the starting shortcut in c#

Lets say that I have an executable and when it is started I want to know how it's started. I.e. I would like to know if it is started with a shortcut or directly. With this: string test = Environment.GetCommandLineArgs()[0]; I can get the path of the executable, but this is always the same, even if it's started by a shortcut. Lets sa...

Jump-To-Code-Line Eclipse Shortcuts

Hello, is it possible, in Eclipse, to mark certain lines with Shortcuts and be able to quickly jump to those lines? Example: Let's say I have maintenanceHeavyMethod() at line 120 in my class, gameLoop() at line 800 and some listener at line 1460. I'd like to f.ex. press CTRL-SHIFT-1, 2, 3 etc. to mark those positions, and then use f.e...

JButton keyboard shortcuts

Hello, I have two JButtons and I would like to allow them to be used by the Arrow keys whenever the JFrame is in focus, Can anyone point me in the right direction about this? Thanks ~ Kyle ...

In Visual Studio 2010, can you auto-generate an eventhandler in the same way as C#, using Visual Basic?

For example, you can type this.Loaded += in C# and press TAB a couple of times to automatically generate an event handler. Is there an equivelent in Visual Basic? Typing Addhandler Me.Loaded and pressing TAB or RETURN does nothing. ...

Favorite Visual Studio keyboard remappings?

Stack Overflow has covered favorite short-cuts and add-ins, optimizations and preferences -- great topics all. If this one has been covered, I can't find it -- so thanks in advance for the link. What are your favorite Visual Studio keyboard remappings? Mine are motivated by the fact that I'm a touch-typist. Mouse, function keys, arrow...

How do I disable zoom on control-scroll in Visual Studio 2010?

Visual Studio 2010 adds a zoom setting on the bottom left of the text editor (to the left of the horizontal scroll bar) and also adopts the control + mouse scroll idiom for zooming in and out. The former is fine, but I dislike the latter as I am occasionally still holding control when I start scrolling my source code (which results in t...