Visual Studio现在包括一个集成终端
It's early days (preview) but there's now a Terminal integrated into Visual Studio! Taking a nod from the 2017 plugin, the Terminal is now build in as an experimental feature using features from the NEW open source Windows Terminal.
这是早期(预览),但是现在将终端集成到Visual Studio中! 在2017年插件中得到点头,现在使用新的开源Windows Terminal的功能将Terminal内置为实验功能。
Rather than build everything from scratch, the Visual Studio terminal shares most of its core with the Windows Terminal!
Visual Studio终端不是从头开始构建所有内容,而是与Windows终端共享其大部分核心!
assuming you have Visual Studio 2019 16.3 Preview 3 or above, you’ll want to enable it by visiting the Preview Features page. Go to Tools > Options > Preview Features, enable the Experimental VS Terminal option and restart Visual Studio.
假设您拥有Visual Studio 2019 16.3 Preview 3或更高版本,则需要通过访问``预览功能''页面来启用它。 转到“工具” >“选项”>“预览功能” ,启用“实验VS终端”选项,然后重新启动Visual Studio。
Make sure you restart after changing this option.
确保更改此选项后重新启动。
It's super early days and there's lots of things coming.
这是超级早期,会有很多事情发生。
You can set up Profiles but you can't use them yet as the default is the only one used. In the future the Integrated Terminal will add a dropdown and + button like the Windows Terminal.
您可以设置个人档案,但目前还不能使用它们,因为默认是唯一使用的个人档案。 将来,集成终端将像Windows终端一样添加一个下拉菜单和+按钮。
Also note that if you want to integrate WSL (bash) you'll want to select c:\windows\sysnative\wsl.exe and pass in your preferred Distribution. Here you can see me running Ubuntu inside of VS2019. Sweet.
还要注意,如果要集成WSL(bash),则需要选择c:\ windows \ sysnative \ wsl.exe并传递您首选的发行版。 在这里您可以看到我在VS2019中运行Ubuntu。 甜。
Grab the Preview of 16.3p3 now or wait a bit and you'll see more and more updates to the new VS Integrated Terminal in the coming months!
立即获取16.3p3的预览版,或者稍等片刻,在接下来的几个月中,您将看到越来越多的新VS Integrated Terminal更新!
Sponsor: Uno Platform is the Open Source platform for building single codebase, native mobile, desktop and web apps using only C# and XAML. Built on top of Xamarin and WebAssembly! Check out the Uno Platform tutorial!
赞助商: Uno Platform是一个开放源代码平台,用于仅使用C#和XAML构建单个代码库,本机移动,桌面和Web应用程序。 建立在Xamarin和WebAssembly之上! 查看Uno Platform教程!
关于斯科特 (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员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。
翻译自: https://www.hanselman.com/blog/visual-studio-now-includes-an-integrated-terminal