Freigeben über


Did you know… You can add your own External Tools to the list? - #202

Go to the Tools – External Tools dialog, and you’ll see the Add  button. 

  1. Clicking Add will create a [New Tools 1] placeholder. 
  2. Let’s add Notepad as an external tool by calling it “Notepad” as the Title
  3. For the command, this is the actual executable (and location, if needed).  You should be able to just enter in “notepad.exe” depending on your environment variables.

Adding notepad to external tools

Now, this is the minimum you need to make an external tool work.  But let’s go a little further by exploring the optional arguments…

  1. For arguments, you can type in the name of a file, either existing (if you want notepad to open it) or the name of a file you want notepad to create.
  2. For initial directory, you can type in the file path, either where it exists or where you want it to save to.

And of course, we’ll see notepad in the Tools menu…

Notepad added to Tools menu

We’ll explore more of the arguments and other options in the upcoming tips… same RSS time, same RSS channel – for those of you who get the reference to the old batman tv series =D

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    April 29, 2008
    I love this one. For some reason I have to switch to Dreamweaver from time to time and then open file that is already open in VS. This tip will really save me some time. Thanks

  • Anonymous
    April 30, 2008
    That was easy, probably the only time I'll ever get to say that regarding learning C#, hmmmm. Thank you so much !

  • Anonymous
    January 04, 2009
    本篇包括tip191-tip200http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-21.html#201、在v...