无法在仅有我的 JavaScript 项目中找到 Visual Studio Code 中的运行按钮。

huangapple go评论77阅读模式
英文:

Can't find run button in vs code with only my javascript project

问题

我已经多次重新安装了Code Runner,并且尝试了多种语言,如Python和C++,它们都正常工作(右上角的运行按钮出现了),但只有我的JavaScript文件中该按钮消失了(我已经尝试多次保存文件)。

以前它是可见的,但我不小心右键单击它并点击了某个选项,然后它就消失了 ==";

我应该怎么做才能再次恢复那个按钮呢?

英文:

I've reinstalled Code runner for several times and I've test with many languages like python and c++ they are all work well (the run button on the top right corner was appear) but only for my js file the button disappear (I've tried to save the file for many times already)

Previously it was appear but I've accidentally right click on it and click on some option and it disappear =="

what should I do to recover that button again?

答案1

得分: 1

如果您在编辑器窗口选项下方右键单击右上角,并在下拉菜单中选择“运行代码”,按钮应该会重新出现。

如果出于任何原因没有重新出现,您可以使用 node index.js 运行您的代码。

英文:

if you right click the top right of your editor below the window options and select "run code" in the drop down, the button should reappear.

if it doesn't for whatever reason, you could run your code using node index.js.

huangapple
  • 本文由 发表于 2023年1月10日 02:00:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/75061233.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定