V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
panamera

请问 VS Code 深色主题背景色如何设置为纯色?

  •  
  •   panamera · Jul 10, 2022 · 2695 views
    This topic created in 1392 days ago, the information mentioned may be changed or developed.

    很长时间没用 VS Code ,今天打开升了个级后发现所有的深色主题背景色都变成下图这样了。Line number 和 Editor 都没对齐,这是个什么 feature ?我记得以前是纯色的?

    vscode.png

    只在大屏幕上面,13" 笔记本上无此现象。

    Supplement 1  ·  Jul 10, 2022

    看起来是最新版本的 bug #154698 #154697

    Supplement 2  ·  Jul 11, 2022

    #152816

    VS Code 1.69.0 使用的 Electron 在 macOS 渲染问题引起的

    可以暂时修改 ~/.vscode/argv.json 文件

    "disable-color-correct-rendering": false
    
    2 replies    2022-07-11 12:39:46 +08:00
    lingxiaoli
        1
    lingxiaoli  
       Jul 11, 2022
    仔细看了下 14 寸也有这个问题
    panamera
        2
    panamera  
    OP
       Jul 11, 2022
    @lingxiaoli 实际上右边那片浅色区域出现在 editor.ruler 的右侧。小屏幕上 ruler 把屏幕占满了所以掩盖了这个现象。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2530 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:58 · PVG 10:58 · LAX 19:58 · JFK 22:58
    ♥ Do have faith in what you're doing.