#87、在命令窗口运行带参数的 Visual Studio 命令
原文链接:You can run Visual Studio commands with arguments from the command window
操作步骤:
按Ctrl+Alt+A打开命令窗口.
输入命令示例:
>File.Open c:\samples\foo.txt 不同通过菜单打开一个文件
>Help vs.commandwindow //打开帮助窗口
>? i // 获取变量i的值
>? i = 10 // 给变量i赋值为10
评论:嘿嘿,作者的这种搞法基本就不需要使用菜单了。