如何仅 运行 带有代码 运行ner 扩展名的 js 文件

How to only run js file with the code runner extension

我想开始在 vscode 中使用 js,所以我安装了代码 运行ner 扩展来帮助我。但是当我 运行 python 它想要通过代码 运行ner 扩展而不是我已经安装的那个 python 扩展时我遇到了问题。

First install node js to run code through code runner extension or you can simply run the js file by the following way:

节点filename.js

示例: 节点index.js

记住:需要先全局安装node js,然后通过node --version[=查看版本,查看是否完美安装24=]cmd中的命令。