Wednesday, June 18, 2014

Tip 6.13: You can have your external tool's text displayed in the Output window

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



At the bottom of the External Tools dialog box, you'll see more options for customizing the external tool within the IDE. This tip is about the Use Output Window option. The idea here is you're running a .bat file and you want to track the progress within the IDE.

Using the command prompt as the tool, you can set Arguments to something like /C echo $(CurText), which signifies the following:
  • /C, from cmd.exe, carries out the command specified by the string and then terminates.
  • $(CurText) is a token that comes from Visual Studio that represents the currently selected text, displayed as Current Text in the menu.


VSTip6113

Now, when running this external tool with a line of text selected in the editor, the Output window displays the text.

VSTip6113a

Happy Programming! =)
Posted by Nils-Holger at 12:25 PM with 3 comments.

Giulia Spada scvrVe:

Posted by Gracelynn on Sunday, August 7, 2016
Giulia Spada scvrVe:iorrei vedere se il sig. Benetton fosse nato da una famiglia composta da un papà operaio generico e precario, una mamma casalinga e con 3 fratelli di varie età.A quel punto magari potremmo riparlare del fatto che il vincente è chi si adatta meglio. Direi che in quel contesto il vincente è chi riesce a portare a casa la pagnotta per la famiglia e a fare in modo che avanzino ancora delle briciole !

I really wish there

Posted by Donte on Monday, August 8, 2016
I really wish there were more arcetlis like this on the web. http://bbmonwpbxoy.com [url=http://dlqbgqaucwv.com]dlqbgqaucwv[/url] [link=http://zmrnpmuab.com]zmrnpmuab[/link]

Thanks for spending

Posted by Cordy on Tuesday, August 9, 2016
Thanks for spending time on the computer (wtnriig) so others don't have to. http://ljlgxhkfgqi.com [url=http://hxlqnlhfw.com]hxlqnlhfw[/url] [link=http://xkdadh.com]xkdadh[/link]
Add Your Comment





*