Maybe you can use the Code Runner extension. After installation, your run button has three options.
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.
发布评论
评论(1)
也许您可以使用代码跑步者扩展。安装后,您的运行按钮具有三个选项。
选择
运行代码
,并且代码结果将在output
窗口中输出(仅结果,没有其他行)。选择运行Java
将在原始终端输出结果,调试Java
将启动代码调试。希望它对您有帮助。
Maybe you can use the Code Runner extension. After installation, your run button has three options.
Select
Run Code
, and the code result will be output in theOUTPUT
window (only the result, no other lines). SelectingRun Java
will output the result in the original terminal, andDebug Java
will start code debugging.Hope it helps you.