以下文章来源于FOSS Lab ,作者白开水
FOSS Lab Free and Open Source Software,自由与开源软件 Visual Studio Code 1.55 稳定版已发布,其中一些主要亮点内容如下: 自定义键盘快捷键编辑器:键盘快捷键编辑器现在已经重构为使用新的表格部件,允许用户调整编辑器中的列的大小。 改进的远程端口管理:端口转发自动检测,regex 命名等。 Terminal 配置文件:在 terminal 中定义配置文件,以方便地启动非默认 Shell。
VS Code 会通过这个菜单自动检测并显示一些比较常用的 shell,但也可以通过 terminal.integrated.profiles.<platform> 设置进行配置。通过这个设置,可以添加新的配置文件,更改现有的配置文件和删除默认的配置文件。比如: "terminal.integrated.profiles.windows": { // Add a PowerShell profile that doesn't run the profile "PowerShell (No Profile)": { // Some sources are available which auto detect complex cases "source": "PowerShell", "args": ["-NoProfile"], // Name the terminal "PowerShell (No Profile)" to differentiate it "overrideName": true }, // Remove the builtin Git Bash profile "Git Bash": null, // Add a Cygwin profile "Cygwin": { "path": "C:\\cygwin64\\bin\\bash.exe", "args": ["--login"] } }
推荐的初始添加配置文件的方法是通过“选择默认配置文件”命令,该命令允许基于现有配置文件或其他检测到的 shell 创建配置文件。 更多详细信息查看:https://code./updates/v1_55
|