quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符

quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符

quake-iii源码

Back in March of 2013 when Phil Haack was deep into GitHub for Windows development we were going back and forth in email about how to quickly get into a shell from a specific project. I hate always having to paste in a "CD somedirectory" so I usually use some kind of "Command Prompt Here" right click menu.

早在2013年3月, Phil Haack深入到GitHub进行Windows开发时,我们就在电子邮件中来回询问如何快速从特定项目进入Shell。 我讨厌总是必须粘贴“ CD somedirectory”,所以我通常使用某种“ Command Prompt Here”(右键单击菜单)。

TIP: A lot of people don't realize that you can Shift-Right-Click on a folder in Windows Explorer and you'll automatically get a "Command Prompt Here" menu item!

提示:很多人没有意识到您可以在Windows资源管理器中按住Shift并右键单击一个文件夹,然后会自动获得“此处命令提示”菜单项!

Anyway, Phil and I were emailing and he said (remember that GitHub for Windows (GHfW) was in development)...and I've always loved how the Quake console pops up when you press ~ in Quake.

无论如何,Phil和我正在通过电子邮件发送邮件,他说(记住,Windows的GitHub(GHfW)正在开发中)...而且我一直很喜欢在Quake中按〜时Quake控制台会弹出的方式。

I feel ashamed I didn't know this, but I just discovered that CTRL+ALT+D brings up the shell when in GHfW. We are considering ways to make our keyboard shortcuts more discoverable. Kind of like the `?` support we have on GitHub.com. We should totally make that a ~ shouldn't we? Like in Quake, Doom, etc.

我不知道这一点我感到feel愧,但是我发现在GHfW中,CTRL + ALT + D会弹出外壳。 我们正在考虑使键盘快捷键更易于发现的方法。 有点像GitHub.com上的`?`支持。 我们应该完全将其设为〜,不是吗? 就像在《雷神之锤》,《毁灭战士》中一样。

And they did. When you're in GitHub for Windows just press ~ and you'll automatically get a new command prompt (or Bash Shell or PowerShell) and be dropped in to the current folder's directory. It's my most favorite feature about GitHub for Windows.

他们做到了。 当您在Windows的GitHub上时,请按〜,您将自动获得一个新的命令提示符(或Bash Shell或PowerShell),并将其放入当前文件夹的目录中。 这是我最喜欢的GitHub for Windows功能。

I mentioned this to Mads Kristensen yesterday and said we should build this feature into Visual Studio. Rather than waiting, he just created a little single purpose extension called Open Command Line. It works in Visual Studio 2012, 2013, and 2015.

昨天我向Mads Kristensen提到了这一点,并说我们应该将此功能内置到Visual Studio中。 他没有等待,而是创建了一个名为Open Command Line的单一目的扩展。 它适用于Visual Studio 2012、2013和2015。

quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符

But it's the hotkeys that make it awesome. Now I'm not sure how I lived without it. Alt-Space and it opens up a prompt right where I need it. Go download the Open Command Line free Visual Studio extension now, and remember, it works in Visual Studio Community which is also free! You can set it to open CMD, PowerShell, or a custom prompt.

但这是使它变得很棒的热键。 现在我不确定没有它怎么生活。 Alt-Space,它会在我需要的位置打开提示。 立即下载免费的Open Command Line Visual Studio扩展,并记住,它在Visual Studio Community中也是免费的! 您可以将其设置为打开CMD,PowerShell或自定义提示。

quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符

Oh, by the way, the overlay there that shows what hotkey I'm using, that's Carnac.

哦,顺便说一下,那里的覆盖物显示了我正在使用的热键,即Carnac

相关链接 (Related Links)



Sponsor: Big thanks to the folks at Infragistics for sponsoring the feed this week! Responsive web design on any browser, any platform and any device with Infragistics jQuery/HTML5 Controls.  Get super-charged performance with the world’s fastest HTML5 Grid - Download for free now!

赞助商:非常感谢Infragistics的人们本周赞助了feed! 带有Infragistics jQuery / HTML5控件的任何浏览器,任何平台和任何设备上的响应式Web设计。 使用世界上最快HTML5网格获得超强的性能-立即免费下载!

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符
quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符
quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符
About   关于 Newsletter 时事通讯
Hosting By 主持人
quake-iii源码_Visual Studio的Quake模式控制台-使用热键打开命令提示符

翻译自: https://www.hanselman.com/blog/quake-mode-console-for-visual-studio-open-a-command-prompt-with-a-hotkey

quake-iii源码