Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom tool shortcut visual studio

Tags:

Is there a way to create a shortcut for a custom tool in visual studio? At the moment I have to navigate to the tool in the solution, right click and run custom tool. It would be nice if I could either bind a shortcut key or run the tool from the toolbar. Does anyone know of a way to do this?

like image 440
Steji Avatar asked Oct 17 '12 08:10

Steji


People also ask

How do I customize shortcuts in Visual Studio?

On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.

Can you customize Pro Tools shortcuts?

For the first time ever, Pro Tools 2022.4 now lets you create your own custom shortcuts.


2 Answers

I think you are looking for this:

  • Go to Tools -> External tools
  • Configure your tool
  • Go to Tools -> Options -> Environment -> Keyboard
  • In Show commands containing type: Tools.ExternalCommand
  • Choose the command you want and set a shortcut for it.

In the External tools, the gotcha is that the number of the external tool is the position in the list.

like image 89
JiBéDoublevé Avatar answered Oct 18 '22 10:10

JiBéDoublevé


Yes, go to Tools -> Options -> Environment -> Keyboard..

Look for command Project.RunCustomTool or the command you actually want.

like image 25
Michal Klouda Avatar answered Oct 18 '22 10:10

Michal Klouda