visual-studio-code - 允许 guest 到 VS Code Live Share session 以运行 Python 扩展 'cells'

标签 visual-studio-code vscode-settings

当 VS Code Live Share session 中的 guest 尝试运行 VS Code Python 扩展“单元”时,他们将在右下方的错误弹出对话框中收到以下消息:

The host doesn’t allow running this command. 
If needed, ask them to enable it.

单击弹出对话框的“更多信息”按钮,将客人引导至 https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/security .我在此页面上找不到描述如何允许访客使用特定 VS Code 扩展的某些功能的地方。

作为主持人,我如何允许 guest 在我的 VS Code Live Share session 中运行 VS Code Python 扩展“单元”?

最佳答案

类似于 guest 调试 ( https://github.com/MicrosoftDocs/live-share/issues/2154 ),在 VSCode Live Share 扩展设置中有一个“允许 guest 命令控制”选项(在 VSCode 中,打开扩展侧栏 - 在“已安装”下,单击“已安装”旁边的设置轮实时共享” - 扩展设置)。启用它应该可以解决问题(尚无法测试)。
可能有一些额外的问题取决于版本:https://github.com/MicrosoftDocs/live-share/issues/3121

关于visual-studio-code - 允许 guest 到 VS Code Live Share session 以运行 Python 扩展 'cells',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54633454/

相关文章:

python - 没有名为 ev3dev2 的模块

flutter - Dart格式在vscode中很奇怪

visual-studio-code - VS Code - 重新映射某些箭头键功能

visual-studio-code - VSCode : Suppress all warnings from a particular Extension

visual-studio-code - VSCode 'Go To Definition' 打开新选项卡而不是使用现有选项卡

typescript - Typescript 和 VSCode 的简单问题

git - VS代码 "please clean your repository working tree before checkout"

python - 在 Visual Studio Code 容器中安装 Python 库

visual-studio-code - 在 Visual Studio Code 中调试时是否可以不显示调试侧栏?

visual-studio-code - 如何使用 editor.tokenColorCustomizations 而不是工作台更改 vscode 中的编辑器背景颜色