VS Code 1.37 release, more icons usher in a new design

Microsoft released VS Code 1.37, the version of some of the key highlights include:

The new icon design

This version has been updated all product icon so in style, color and size are uniform.

VS Code product icons

 

Setting the editor of a string array support 

This version is provided editor allows editing array of strings is provided, Add Item button displays an input box to add a new string.

Settings UI for array-of-string settings

To enable this support by providing configuration and with the type of item:

{
  "type": "array",
  "items": {
    "type": "string"
  }
}

Search results are displayed in the Explorer

在搜索结果中,新添加了 Reveal in Explorer 右键菜单,可以直接跳转到文件管理器。

Reveal in Explorer command in search result

从设置文件中删除警告

将不再在 setings.json 文件中看到 unknown 或 unsupported 的设置的警告。

Faded unused settings

改进 minimap 搜索结果可见性

Minimap search results

默认情况下开启 NPM Scripts Explorer

当工作区根目录有一个 Package.json 文件时,NPM Scripts Explorer 显示在 File Explorer 中。当你的工作区根目录中没有 Package.json 时,仍然可以使用该设置来启用 NPM Scripts Explorer,如果要隐藏它,可以右键单击其标题并从上下文菜单中选择 Hide

NPM Scripts Explorer collapsed

选中文本显示空格

editor.renderWhitespace配置项现在支持selection 选项了,可以只在选中的文本中显示空格 。

Whitespace rendered on selection

替换字符串时保留大小写

在编辑器的 Find 小部件中进行替换时,可以保留大小写。

Preserve Case button

目前 VS Code 支持保留全大写、全小写和首字母大写三种形式。

Preserve case example

在 Find 小部件中切换活动状态

这个更新中,引入了一个新的主题颜色 inputOption.activeBackplace 来控制活动状态的背景颜色。此颜色重用 focusBorder,以便在默认情况下更好地处理主题。并且 inputOption.activeBorder 默认设置为透明,这样边框只用于聚焦。

Button toggle active state

更改诊断信息的颜色

该版本更新了 edorInfoForeplace 和 EditorInfoBorder,以与其他信息诊断颜色相匹配。

Info display colors

Terminal 自底向上搜索

在 Terminal 进行搜索到达底部时,之后的搜索将变为自底向上的顺序。

Terminal search now searches upwards by default

详情见发布说明:

https://code.visualstudio.com/updates/v1_37

Information Reference: Fun VS Code

Guess you like

Origin www.oschina.net/news/108939/vs-code-1-37-released