无论如何,是否可以在Visual Studio代码中删除这些额外的行?

发布于 2025-02-02 13:03:03 字数 188 浏览 3 评论 0原文

我只想看到没有这些线路的输出。因为它分散了我的注意力。

I just want to see the output without these lines; Because it distracts me. enter image description here

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

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

发布评论

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

评论(1

绅刃 2025-02-09 13:03:04

也许您可以使用代码跑步者扩展。安装后,您的运行按钮具有三个选项。

选择运行代码,并且代码结果将在output窗口中输出(仅结果,没有其他行)。选择运行Java将在原始终端输出结果,调试Java将启动代码调试。

希望它对您有帮助。

Maybe you can use the Code Runner extension. After installation, your run button has three options.

enter image description here

Select Run Code, and the code result will be output in the OUTPUT window (only the result, no other lines). Selecting Run Java will output the result in the original terminal, and Debug Java will start code debugging.

Hope it helps you.

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