适用于Visual Studio的终端

Whack Whack Terminal is an experimental free plugin for Visual Studio 2017 that aims to bring a full terminal inside of Visual Studio. Those of you who use Visual Studio Code have long enjoyed the integrated xtermjs terminal. Justin Clareburt worked with Daniel Griffen on hacking together this solution as an experiment. There is no plans for it to be more than an experiment, I'm told BUT I always say vote with your feet. I figure a few tens of thousands of installs and someone will decide to build it in. I have long used Mads Kristensen's Quake Mode that lets me launch a command prompt from VS, but ever since the NuGet Package manager showed up in VS many years ago, I've always wanted a real FULL terminal in VS.

Whack Whack Terminal是Visual Studio 2017的实验性免费插件,旨在将完整的终端带入Visual Studio。 那些使用Visual Studio Code的人早已使用了集成的xtermjs终端。 贾斯汀·克莱尔伯特(Justin Clareburt )与丹尼尔·格里芬(Daniel Griffen)合作研究了该解决方案作为实验。 有人告诉我,没有什么可以比做实验更多的了,但是我总是说用脚投票。 我估计有成千上万的安装,有人会决定安装它。我长期以来一直使用Mads Kristensen的Quake模式,该模式可让我从VS启动命令提示符,但自从多年前NuGet程序包管理器出现在VS中以来, ,我一直想要VS中的真正FULL终端。

Today, the code is alpha quality, so expect it will actively improve, and don't be mean in the GitHub Issues. They've versioned it at 0.2, and is aiming for parity with the features in the terminal in VSCode for version 1.0.

今天,该代码具有Alpha质量,因此希望它会得到积极改进,而不是GitHub Issues中的恶意代码。 他们将其版本控制为0.2,旨在与VSCode 1.0终端中的功能保持一致。

Still, go install WhackWhack in VS2017 NOW! Nothing ventured, nothing gained!

不过,现在就在VS2017中安装WhackWhack ! 不入虎穴,焉得虎子!

Hey it's a real terminal inside of Visual Studio

I'm sure they will update it with lots of great features like changing the fonts and colors, but if you want to hack away (as of the date of this blog post) you can mess around in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\sjogt3hc.qcl\daytona with ZERO WARRENTY EXPRESS OR IMPLIED. I went into there and edited the default.css file by removing all the comments and changing the background-color to black, the text to white, and adding a font-family choosing Consolas. If you do that, you'll likely need to uninstall/reinstall at some point when REAL customizations come. Again, alpha. But awesome.

我确定他们会使用很多很棒的功能(例如更改字体和颜色)来更新它,但是,如果您想破解(截至本博客发布之日),您可以在C:\ Program Files(x86)中乱搞\ Microsoft Visual Studio \ 2017 \ Community \ Common7 \ IDE \ Extensions \ sjogt3hc.qcl \ daytona,带有“零担保”的明示或暗示。 我去到那里并编辑了default.css文件,方法是删除所有注释,将背景色更改为黑色,将文本更改为白色,然后添加字体家族,选择Consolas。 如果这样做,则在REAL自定义项出现时,您可能需要在某个时候卸载/重新安装。 再次,阿尔法。 但是真棒。

"Whack" is a shorthand word for a slash (forward or otherwise) and the default hotkey is Ctrl+\, Ctrl+\. That's twice. so Ctrl WHACK WHACK. When you use the hotkey it will open the folder in the same folder as the currently selected project in the Solution Explorer.

“ Whack”是斜杠的缩写(正向或其他形式),默认热键为Ctrl + \,Ctrl + \。 那是两次。 所以Ctrl WHACK WHACK。 使用热键时,它将在解决方案资源管理器中打开与当前选定项目相同的文件夹。

If you want to change the hotkey to something else (like a more sensible Ctrl+~) you can do it in Tools | Options | Keyboard like this.

如果您想将热键更改为其他功能(例如更合理的Ctrl +〜),则可以在“工具” |“工具”中进行操作。 选项| 这样的键盘。

Changing the hotkey for the terminal

Then assign a new one by clicking in Press Shortcut Keys and typing "Ctrl+`" (which to me, is Ctrl ~ on my keyboard, without the shift)

然后通过单击“按快捷键”并键入“ Ctrl +`”(在我的键盘上为Ctrl〜,而没有移位)来分配一个新的键盘

Changing the hotkey for the terminal

By default the shell is PowerShell, but there's also places to support bash/Ubuntu, etc. For now, if you want bash, you can type C:\windows\sysnative\bash.exe in the terminal.

默认情况下,外壳程序是PowerShell,但是也有支持bash / Ubuntu等的地方。现在,如果要使用bash,可以在终端中键入C:\ windows \ sysnative \ bash.exe。

And just to freak you out, here's top running inside Visual Studio.

只是想吓到你,这是在Visual Studio中运行的最高级。

And just to freak you out, here's top running inside Visual Studio.

Enjoy! Install "WhackWhackTerminal" from here.

请享用! 从此处安装“ WhackWhackTerminal”

翻译自: https://www.hanselman.com/blog/a-proper-terminal-for-visual-studio

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值