VS Code 1.40 has been released, developers have to compile a Web version of the VS Code VS Code directly from the source code. If you've downloaded and built VS Code of source code, just run the yarn web, you will be able to http: // localhost: 8080 / visit, if not built locally before too, need to build VS Code locally, then running yarn web. This version reads as follows:
Activity bar indicator
This version introduces a new indicator for the Activity Bar in the active item, to make it more prominent and improve readability.
You can be controlled by the new color marker activityBar.activeBorder activity indicator, also introduces an optional background color Active elements, activityBar.activeBackplace, the configuration may be as follows:
Customizable window border
Added window.activeBorder 和 window.inactiveBorder
two theme colors.
- window.activeBorder: set the border color when the window has focus
- window.inactiveBorder: Set the window loses focus when the border color
Breadcrumbs (breadcrumbs) type filter
Added multiple settings outline.showVariables、outline.showFunctions
and so on and breadcrumbs.showVariables
.
When the size of the divided control editor
The new adjustment is provided when the editor used to separate windows workbench.editor.splitSizing layout. The default is equally distributed as follows:
Change this setting to "split", so that the current editor is divided into two parts, without affecting the size of the other editors:
According to the language setting line characters
May be set line character (files.eol) depending on the language.
"[mylanguage]": {
"files.eol": "\n"
}
Improved matching brackets
Previously, VS Code will only highlight the matching brace bracket when the cursor is located next character. Now, VS Code will always be highlighted brackets (if they exist).
Improved Unicode character processing composition
before:
just now:
diff Editor improvements
通过 Show/Ignore Trim Trailing Whitespace Difference, 可以设置是否比较空白字符。
Git:自动的 commit message
如果 VS Code 检测到当前是一个 merge 的 commit,则会自动补全 commit message。
Git: Reveal in Explorer
在 Git 的文件管理器的右键菜单中,新增了 Reveal in Explorer 选项。
Git: Clone progress
clone 操作支持在右下角通知中显示进度:
overview ruler 显示断点
通过设置 debug.showBreakpointsInOverviewRuler,可以在右侧的 overview ruler 中显示断点。
CSS media query 符号
在 CSS/SCSS/Less 文件中,media query 符号会在 Outline 和 Breadcrumb 显示。
更多内容请见发布说明。
参考:玩转 VS Code