本文共 4080 字,大约阅读时间需要 13 分钟。
: In the About popup within the Terminal, this version will appear as v0.6.
:在终端中的关于弹出窗口中,此版本将显示为v0.6。
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文件中!
: 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
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 () has written an on how to do just that!
终端现在具有改进的设置模型! 它附带了defaults.json文件,其中包含所有默认设置。 如果您想查看默认设置文件中包含的内容,可以按住Alt
键并单击下拉菜单中的设置按钮。 该文件是自动生成的文件,对该文件所做的更改将被忽略和覆盖。 您可以在自己的profiles.json文件中添加任意数量的自定义设置。 如果您想重置设置,Scott Hanselman( )撰写了一篇 ,介绍了如何做到这一点!
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"]}
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"
: 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.
:如果您使用多个监视器,并且想要将终端设置为在主监视器的左侧或上方启动,则必须使用负坐标。
The Terminal now has even better tabs! The 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!
终端现在具有更好的选项卡! 终端中使用的已更新至版本2.2。 此版本具有更好的色彩对比度,下拉菜单中的圆角和制表符分隔符。 另外,当太多的选项卡填满屏幕时,您现在可以使用按钮滚动浏览它们!
翻译自:
转载地址:http://zzdwd.baihongyu.com/