Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top