“editorWhitespace.foreground"VSCode 中的 workbench.colorCustomizations 设置实际上有效吗? [英] Does the "editorWhitespace.foreground" workbench.colorCustomizations setting in VSCode actually work?

查看:160
本文介绍了“editorWhitespace.foreground"VSCode 中的 workbench.colorCustomizations 设置实际上有效吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Mac 上使用 VSCode 1.13 版.我想覆盖空白的主题颜色.遵循文档:

<块引用>

editorWhitespace.foreground:空白字符的颜色编辑器.

I'm using version 1.13 of VSCode on the Mac. I'd like to override the theme colour for whitespace. Following the docs:

editorWhitespace.foreground: Color of whitespace characters in the editor.

https://github.com/Microsoft/vscode-docs/blob/master/docs/getstarted/theme-color-reference.md

I have put this in the settings:

  "workbench.colorCustomizations": {
    "editorWhitespace.foreground": "#333",
    "editorIndentGuide.background": "#333"
  }

The "editorIndentGuide.background" has an effect, but "editorWhitespace.foreground" doesn't. Am I doing something wrong?

UPDATE: To clarify, when the whitespace is visible the spaces are indicated with white dots. I'm expecting to be able to change the colour of the dots to, say, #333 with the "editorWhitespace.foreground" setting.

解决方案

Yes, it does for me on Windows 10. I assume you have "Toggle Render Whitespace" under View menu on? What color is your editor background, perhaps it is too close to #333 to appear obvious.

这篇关于“editorWhitespace.foreground"VSCode 中的 workbench.colorCustomizations 设置实际上有效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆