VSCode 隐藏右上角的图标 [英] VSCode hide top-right icons

查看:42
本文介绍了VSCode 隐藏右上角的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 VScode 极简主义方法的忠实粉丝,但有一件事困扰着我.我想隐藏编辑器标签图标.

I'm a big fan of VScode's minimalist approach, but one thing is bugging me. I would like to hide editor-tab icons.

图标来自扩展:git-lens &VScode 的十六进制转储.也可以隐藏拆分编辑器图标.

The icons are from extensions: git-lens & hexdump for VScode. Also the split-editor icon would be nice to hide.

推荐答案

扩展 自定义 CSS 和 JS 加载器

.tabs-and-actions-container .editor-actions {
    display: none !important;
}

或者,在悬停时显示它们:

Optionally, show them on hover:

.tabs-and-actions-container:hover .editor-actions {
    display: flex !important;
}

这篇关于VSCode 隐藏右上角的图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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