VSCode:有没有办法隐藏顶部操作菜单栏? [英] VSCode: Is there a way to hide top action menu bar?

查看:57
本文介绍了VSCode:有没有办法隐藏顶部操作菜单栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 VSCode 中,有没有办法隐藏出现在标签行中的顶部操作菜单栏?我很少使用它,而且我发现它挤满了可用于浏览打开的标签页的有限空间.此外,它的呈现方式也不一致,尤其是在激活拆分窗格时.

In VSCode, is there a way to hide the top action menu bar that appears in the tabs row? I rarely use it and I find that it crowds the already limited space available to browse through open tabs. Moreover, its presentation is also inconsistent, especially when split panes are activated.

我不确定我是否正确地提到了这个 VSCode 功能,所以这里有一个屏幕截图展示了我在说什么(由于保密协议的原因,文件名必须模糊):

I'm not sure if I am referring to this VSCode functionality properly, so here's a screenshot demonstrating what I'm talking about (file names had to be blurred out due to NDA reasons):

谢谢.

推荐答案

Context

它被称为编辑器操作,并且在标准/本机 VSCode 设置中,您无法隐藏它.

Context

It is called editor actions and, within the standard/native VSCode settings, you cannot hide it.

隐藏这个烦人栏的设置是 自 2018 年 3 月以来在 VScode 的 GitHub 上的未解决问题.

A setting to hide this annoying bar is an open issue at VScode's GitHub since March 2018.

我感觉到你的痛苦.这对我有用:

I feel your pain. This worked for me:

  1. 安装自定义用户界面扩展.
  2. 打开您的用户设置 JSON:cmd + shift + P/ctrl + shift + P
  3. 添加此设置:

  "customizeUI.stylesheet": {
    ".editor-actions": "display: none !important;",
  },

没了!

这篇关于VSCode:有没有办法隐藏顶部操作菜单栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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