我可以禁用或禁止有关 Jupyter vscode 扩展未安装 jupyter 的警告吗?

Can I disable or suppress warnings about jupyter not being installed by the Jupyter vscode extension?

我想为 VSCode 使用 Python 扩展名, 但这取决于 Jupyter 扩展(参见问答 here)。 我的大部分项目都没有使用 Jupyter,因此没有安装在我的虚拟环境中。 这会导致 Jupyter 扩展不断弹出无法消除的警告 它“无法启动会话”(因为未安装 Jupyter)。 扩展中是否有我忽略的抑制此警告的设置?

文件 > 首选项 > 设置 现在展开“文本编辑器” “建议” “在 Settings.json 中编辑”

现在您可以禁用所有通知或仅针对扩展程序。

您能否尝试将设置 Jupyter-> 禁用 Jupyter 自动启动设置为 true?我们有代码尝试尽早自动启动 jupyter 服务器或内核(如果您以前使用过)。关闭它应该会抑制提示。