简体   繁体   English

只有我的 javascript 项目无法在 vs 代码中找到运行按钮

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

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)我已经重新安装了 Code runner 好几次了,我已经用许多语言进行了测试,比如 python 和 c++ 它们都运行良好(出现了右上角的运行按钮)但只有我的 js 文件按钮消失了(我'我已经多次尝试保存该文件)

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?我应该怎么做才能再次恢复该按钮?

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.如果您右键单击编辑器右上角的 window 选项和 select 下拉菜单中的“运行代码”下方,该按钮应该会重新出现。

if it doesn't for whatever reason, you could run your code using node index.js .如果不是出于某种原因,您可以使用node index.js运行您的代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM