Windows Terminal Preview 1910版本

Microsoft Store, the  Microsoft StoreMicrosoft Store for Business, and  Microsoft Store for BusinessGitHub. GitHub下载终端。

注意 (Note)

: In the About popup within the Terminal, this version will appear as v0.6.

:在终端中的关于弹出窗口中,此版本将显示为v0.6。

动态资料 (Dynamic Profiles)

Windows Terminal now automatically detects any Windows Subsystem for Linux (WSL) distribution installed on your machine along with PowerShell Core. If you install any of these after this update of the Terminal, they will appear in your profiles.json file!

Windows终端现在可以自动检测到计算机上安装的任何Windows子系统(WSL)以及PowerShell Core。 如果您在终端的此更新之后安装其中任何一个,它们将出现在您的profiles.json文件中!

注意 (Note)

: If you don’t want a profile to appear in your dropdown, you can set 

:如果您不希望个人资料出现在下拉菜单中,则可以设置

在profiles.json文件中 "hidden" to  "hidden"true in your profiles.json file. true
"hidden": true

级联设置 (Cascading Settings)

The Terminal now has an improved settings model! It ships with a defaults.json file with all of the default settings included. If you’d like to see what’s included in the default settings file, you can hold down the Alt key and click on the settings button in the dropdown menu. This file is an auto-generated file and changes made to the file are ignored and overwritten. Your own profiles.json file is where you can add as many custom settings as you’d like. If you’d like to reset your settings, Scott Hanselman (@shanselman) has written an excellent blog post on how to do just that!

终端现在具有改进的设置模型! 它附带了defaults.json文件,其中包含所有默认设置。 如果您想查看默认设置文件中包含的内容,可以按住Alt键并单击下拉菜单中的设置按钮。 该文件是自动生成的文件,对该文件所做的更改将被忽略和覆盖。 您可以在自己的profiles.json文件中添加任意数量的自定义设置。 如果您想重置设置,Scott Hanselman( @shanselman )撰写了一篇很棒的博客文章 ,介绍了如何做到这一点!

If you add a new profile, scheme, key binding, or global setting in your profiles.json, it’ll be treated as an added setting. If you create a new profile whose GUID matches an existing one, then your new profile will override the old one. If there is a default key binding included in the defaults.json file that you would like to free up, you can set that key binding to null in your profiles.json.

如果您在profiles.json中添加新的配置文件,方案,键绑定或全局设置,它将被视为添加的设置。 如果创建的GUID与现有配置文件匹配的新配置文件,则新配置文件将覆盖旧配置文件。 如果要释放的defaults.json文件中包含默认键绑定,则可以在profiles.json中将该键绑定设置为null

{
"command": null, "keys": ["ctrl+shift+w"]
}

新的启动设置 (New Launch Settings)

You can now set the Terminal to launch as maximized or set its initial position! Setting the Terminal to launch as maximized can be done by adding the global setting "launchMode". This setting accepts either "default" or "maximized".

现在,您可以将终端设置为最大化启动或设置其初始位置! 通过添加全局设置"launchMode"可以将终端设置为最大化启动。 此设置接受"default""maximized"

"launchMode": "maximized"

If you’d like to set the Terminal’s initial position, you can add "initialPosition" as a global setting. This property accepts a string with the X and Y coordinates separated by a comma. For example, if you’d like the Terminal to launch at the top left of your primary screen, you’d add the following to your profiles.json:

如果要设置终端的初始位置,则可以添加"initialPosition"作为全局设置。 此属性接受X和Y坐标用逗号分隔的字符串。 例如,如果希望终端在主屏幕的左上方启动,则将以下内容添加到profile.json:

"initialPosition": "0,0"

注意 (Note)

: If you’re using multiple monitors and would like to set the Terminal to launch to the left or above your primary monitor, you will have to use negative coordinates.

:如果您使用多个监视器,并且想要将终端设置为在主监视器的左侧或上方启动,则必须使用负坐标。

更新的用户界面 (Updated UI)

The Terminal now has even better tabs! The WinUI TabView used in the Terminal has been updated to version 2.2. This version has better color contrast, rounded corners on the dropdown, and tab separators. Also, when too many tabs fill the screen, you can now scroll through them with buttons!

终端现在具有更好的选项卡! 终端中使用的WinUI TabView已更新至版本2.2。 此版本具有更好的色彩对比度,下拉菜单中的圆角和制表符分隔符。 另外,当太多的选项卡填满屏幕时,您现在可以使用按钮滚动浏览它们!

Bug修复 (Bug Fixes)

  • You can now double-click on the tab bar to maximize the window!

    现在,您可以双击选项卡栏以最大化窗口!
  • One of the main bugs causing newline issues with copy and paste has been fixed!

    修复了导致复制和粘贴换行符问题的主要错误之一!
  • HTML copy doesn’t leave the clipboard open anymore!

    HTML复制不再使剪贴板保持打开状态!
  • You can now use font names longer than 32 characters!

    现在,您可以使用超过32个字符的字体名称!
  • There is no longer text corruption when running two tabs at the same time!

    同时运行两个选项卡时,文本不再损坏!
  • General stability improvements (less crashes)!

    总体稳定性有所提高(减少了崩溃)!

翻译自: https://habr.com/en/company/microsoft/blog/474200/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值