gpt4 book ai didi

visual-studio-code - 如何在 Visual Studio 代码中全局关闭通知

转载 作者:行者123 更新时间:2023-12-03 14:30:15 25 4
gpt4 key购买 nike

如何在 Visual Studio 代码中全局关闭通知。不是来自插件的个别通知,而是每个通知。

这些是从顶部滑入的弹出窗口,显示错误/信息/升级/事件消息。

如果这是系统范围的设置,那就太好了。

Notification dialog

最佳答案

无法通过 VSCode 的配置找到一种简单的方法来执行此操作。暂时破解这个似乎有效的一种方法是 cmd-p ,输入 > developer使用 toggle developer tools 选择选项. Chrome 检查器打开。要禁用所有 toast ,请设置样式 .notifications-toastsdisplay: none .
您也可以尝试:
/* 将此附加到 Microsoft VS Code/_/resources/app/out/vs/workbench/workbench.desktop.main.css */

.monaco-workbench > .notifications-toasts.visible {
display: none;
}

.notifications-toasts {
display: none;
}

关于visual-studio-code - 如何在 Visual Studio 代码中全局关闭通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45033015/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com