Cla*_*lay 6 visual-studio-code vscode-settings
当VS Code Live Share会话中的访客尝试运行VS Code Python扩展“单元”时,他们将在右下方的错误弹出对话框中获得以下消息:
The host doesn’t allow running this command.
If needed, ask them to enable it.
Run Code Online (Sandbox Code Playgroud)
单击弹出对话框的“更多信息”按钮,将来宾定向到https://docs.microsoft.com/zh-cn/visualstudio/liveshare/reference/security。我在此页面上找不到它描述如何允许访客使用特定VS Code扩展的某些功能的页面。
作为主持人,如何允许我的VS Code Live Share会话的来宾运行VS Code Python扩展“单元”?
与来宾调试 ( https://github.com/MicrosoftDocs/live-share/issues/2154 )类似,VSCode Live Share 扩展设置中有一个“允许来宾命令控制”选项(在 VSCode 中,打开扩展侧边栏) - 在“已安装”下,单击“Live Share”旁边的设置轮 - 扩展设置)。启用此功能应该可以解决问题(尚未测试此功能)。
根据版本的不同,可能还会存在一些其他问题:https://github.com/MicrosoftDocs/live-share/issues/3121
| 归档时间: |
|
| 查看次数: |
219 次 |
| 最近记录: |