2

VS Code自定义修改选中内容和tab颜色

 1 year ago
source link: https://ttzz.eu.org/posts/2022-08-17-vscode-modifies-selection-and-tab-colors/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

VS Code 自定义修改选中内容和 tab 颜色

 Kingpo 收录于 工具
 2022-08-17  约 196 字  预计阅读 1 分钟   - 次阅读    - 条评论  

用 vs code 时,由于深色背景和选中内容背景很难区分开,因此做了自定义修改。

打开 vscode
文件 =》首选项 =》 设置 =》 搜索 color 找到 Hediet > Vscode- drawio: Custom Color Schemes 的
在settings.json中编辑

https://s2.loli.net/2022/08/17/L2jxqSRthJGMY4w.webp
https://s2.loli.net/2022/08/17/LVijehNszDEHm2A.webp

打开后,添加下面代码,点击颜色块,可以自由选取颜色。

建议选中内容和 tab 的颜色也做区分,利于分辨,我这里截图时没做区分。

"workbench.colorCustomizations": {
            //设置用户选中代码段的颜色
           "editor.selectionBackground": "#09a050",
           "editor.selectionHighlightBackground": "#09a050",
           //设置活动tab窗口颜色
           "tab.activeBackground": "#5f80629a"
    }, 
https://s2.loli.net/2022/08/17/Etn7BZ3RbiU8mIe.webp
https://s2.loli.net/2022/08/17/KG54poIHmCZVtsP.webp
关注一下有惊喜
wxqr.png 公众号
赞赏支持
wechatpay.png 微信打赏 alipay.png 支付宝打赏

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK