visual-studio-code - 如何在VScode的菜单栏下的工具栏中显示常用命令

标签 visual-studio-code

如何在VScode的菜单栏下的工具栏中显示常用命令?

在 Visual Studio 中,经常使用的命令放置在一些工具栏中。我们可以用鼠标轻松点击它们,而不是使用键盘快捷键。

有没有办法像 Visual Studio 一样在 VScode 中设置工具栏?

最佳答案

不,这目前是不可能的(VSCode 没有内置,而且扩展 API 在自定义 UI 方面相当有限)。有一个功能请求,但它被认为“超出范围”:

Support a real toolbar below the window title with actions (#18042)

请注意,扩展 API 确实允许您自定义编辑器右上角显示的按钮,因此这可能是同时的一种解决方法:



贡献点是editor/title提到 here .这就是内置的 Markdown 扩展如何添加额外的 Open preview to the Side按钮 .md files :



第三方Markdown Shortcuts扩展更进一步,添加了用于编辑的控件,例如 Toggle bold , Toggle italic等等:

关于visual-studio-code - 如何在VScode的菜单栏下的工具栏中显示常用命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45891428/

相关文章:

c - 在VSCode中构建程序时如何指定包含路径?

python - VS Code Python 调试器无法连接到正在运行的进程(超时)

html - VS Code 如何将 HTML emmet 优先于 Laravel Blade Snippets?

c# - Visual Studio Code 能否与混合语言、.NET Core 解决方案一起使用?

visual-studio-code - 关于line length linter 80 characters的一个问题

go - "Setting up workspace: Loading packages..."耗时太长

typescript - 在 vue 组件的模板 html 中启用智能感知需要什么?

visual-studio-code - 是否有基于 VSCode 开源库构建的应用程序?

c - 如何在 VSCode 中为 C 制作 Makefile?

shell - Visual Studio Code 终端 shell 与缺少 rvm 的任务 shell