V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
itsluo
V2EX  ›  问与答

vscode 有什么插件可以运行 JS 文件的部分代码?

  •  
  •   itsluo · 2018-09-04 19:08:21 +08:00 · 3193 次点击
    这是一个创建于 2055 天前的主题,其中的信息可能已经有所发展或是发生改变。
    8 条回复    2018-09-05 12:54:38 +08:00
    Garwih
        1
    Garwih  
       2018-09-04 19:16:32 +08:00   ❤️ 1
    Code Runner,很强大的一个插件。
    itsluo
        2
    itsluo  
    OP
       2018-09-04 19:26:49 +08:00
    vscode 商店挂了吗??
    itsluo
        3
    itsluo  
    OP
       2018-09-04 19:27:04 +08:00
    @Garwih 看看
    itsluo
        4
    itsluo  
    OP
       2018-09-04 19:29:58 +08:00
    @Garwih mac 才能用吗
    Garwih
        5
    Garwih  
       2018-09-04 19:35:27 +08:00
    @itsluo #4 VSCode 是跨平台的。插件当然也是。
    插件商店好像是挂了。
    可以从 Github 下载,离线安装。
    https://github.com/formulahendry/vscode-code-runner/releases
    itsluo
        6
    itsluo  
    OP
       2018-09-04 19:46:14 +08:00
    @Garwih 嗯, 已经安装了,多谢。
    hst001
        7
    hst001  
       2018-09-04 20:15:59 +08:00
    @Garwih #1 这插件不错
    weixiangzhe
        8
    weixiangzhe  
       2018-09-05 12:54:38 +08:00 via iPhone
    code runner 在用了,有 import 的包,改成 reqiure 就能跑了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2648 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:19 · PVG 23:19 · LAX 08:19 · JFK 11:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.