为什么我可以在Edge或Chrome上访问Vscode Dev上的终端?

发布于 2025-01-31 16:38:29 字数 194 浏览 2 评论 0原文

我无法运行任何程序。

按照我的指示,我去了Vscode Dev。
打开我的存储库来运行测试程序。

但是,不幸的是,我无法运行我的任何程序。
我已经检查了该学说,该学说说只有镀铬和边缘得到支持。

但是我无法在终端窗口上运行程序,因为它告诉代码只能在诸如代码和本地VS代码等环境上运行。
我想念什么以使问题发生?

I can not run any program.

As per the instruction I went to vscode dev.
Open up my repository to run a test program.

However, unfortunately, I can not run any of my programs.
I have checked the doctrine which said that only chrome and edge are supported.

But I can not run my program on the terminal window because it tells the code can only run on environments such as codespaces, and local vs code.
What do I miss so that the problem is occurring?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猫九 2025-02-07 16:38:29

vscode(.dev)问题166506 说明,您可能无法从浏览器访问浏览器因为该菜单条目是故意隐藏/删除的。

使用VSCODE 1.75(2023年1月),将通过解释来恢复。

我猜想我们故意抑制了它,因为终端无法在网络中运行,但是参与者简单地感到困惑的是,它不在不存在的情况下将其缺席与vscode.dev.dev的事实联系在一起。是浏览器应用程序。

此外,RemoteHub为终端贡献了一个欢迎视图,这是我们解释的主要方式之一,即用户必须继续在其他地方运行或调试代码,而终端完全被压制的事实意味着用户更少的机会通过我们的欢迎视图有机地了解vscode.dev的局限性。

“

您看到的信息是:

终端在Web编辑器中不可用。
要使用终端,您将需要在可以运行代码的环境中继续进行,例如代码或本地VS代码。

您可以远程发展,但是您需要在本地执行。

As VSCode(.dev) issue 166506 illustrates, you cannot access terminal from your browser probably because that menu entry was hidden/removed on purpose.

With VSCode 1.75 (Jan. 2023), it will be restored with an explanation.

I'm guessing we intentionally suppressed it because terminals can't run in the web, but participants were simply confused that it wasn't there without connecting its absence to the fact that vscode.dev was a browser application.

Additionally, RemoteHub contributes a welcome view for the terminal which is one of the primary ways we explain that users must continue working elsewhere to run or debug code, and the fact that the terminal is completely suppressed means one less opportunity for users to organically learn the limitations of vscode.dev through our welcome views.

https://user-images.githubusercontent.com/30305945/202292244-2a16ca2f-5e09-43f6-9aee-2549eb42c129.png

The message is the one you saw:

Terminal are not available in the web editor.
To use the terminal, you will need to continue in an environment that can run code, like a codespace or local VS Code.

You can develop remotely, but you need to execute locally.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文