A proper terminal for Visual Studio

Dev Tips


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.

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.

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

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 Studio2017CommunityCommon7IDEExtensionssjogt3hc.qcldaytona 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.

“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.

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.

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)

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:windowssysnativebash.exe in the terminal.

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

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

Enjoy! Install “WhackWhackTerminal” from here.


















Source link

Leave a Reply