V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
formulahendry
V2EX  ›  程序员

Code Runner for VS Code 八百万下载量啦!支持运行超过 40 种语言: C, C++, Java , JS, PHP , Python , Perl, Ruby, Go, Lua, Groovy 等

  •  2
     
  •   formulahendry ·
    formulahendry · Aug 15, 2019 · 4974 views
    This topic created in 2447 days ago, the information mentioned may be changed or developed.

    经过多年的打磨,Code Runner 已经支持了超过 40 种语言:C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, F# (.NET Core), C# Script, C# (.NET Core), VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure, Haxe, Objective-C, Rust, Racket, Scheme, AutoHotkey, AutoIt, Kotlin, Dart, Free Pascal, Haskell, Nim, D, Lisp, Kit

    感谢大家的支持!也欢迎大家使用我写的其他插件

    23 replies    2019-08-16 14:19:28 +08:00
    jht
        1
    jht  
       Aug 15, 2019 via Android
    一直在用,感谢感谢!!
    xiri
        2
    xiri  
       Aug 15, 2019
    哇,碰到大佬了,这是我用 VS Code 的必装插件之一
    scyangjian
        3
    scyangjian  
       Aug 15, 2019
    ClericPy
        4
    ClericPy  
       Aug 15, 2019
    这是作者... 解 issue 是很及时的
    话说 code runner 有可能会像 Sublime REPL 一样使用新 tab 来做输出么, terminal - output 那里限制太多了, 还不支持交互...
    以及偶尔遇到已经 stop 的情况下有驻留进程的情况(导致端口还占用...)
    sun2920989
        5
    sun2920989  
       Aug 15, 2019
    必备了几乎 但是之前遇到在一个很大的 php 项目中写个简单的小脚本代码 执行时无法激活插件的 bug 不好稳定复现就没提 issue
    skinny
        6
    skinny  
       Aug 15, 2019
    不知道为什么在低版本 Powershell 下右键 Run Code 运行脚本会卡住不退出,在 Terminal 手动运行不会这样。

    PowerShell 2.0,vscode x64 最新稳定版,Code Runner 最新版。

    测试脚本如下:
    test.ps1:
    ```
    Write-Host "Hello"
    ```

    右键 Run Code,输出:
    [Running] powershell -ExecutionPolicy ByPass -File "d:\test.ps1"
    Hello

    脚本进程必须通过 Stop Code Run 才能终止。
    YouMoeYi
        7
    YouMoeYi  
       Aug 15, 2019
    wow, 支持支持, 一直在用
    emmmlucky
        8
    emmmlucky  
       Aug 15, 2019
    支持一下,虽然用 jb 不需要🐶
    StarkWhite
        9
    StarkWhite  
       Aug 15, 2019
    怎么统计的下载量呢?
    conn4575
        10
    conn4575  
       Aug 15, 2019 via Android
    顶一个,没有这个插件 vacode 就是个废物
    mamahaha
        11
    mamahaha  
       Aug 15, 2019
    覆盖了哪些插件的功能呀,我把其他没用的都删了。
    formulahendry
        12
    formulahendry  
    OP
       Aug 15, 2019 via Android   ❤️ 1
    @ClericPy 可以设置 RunInTerminal,就可以交互啦
    formulahendry
        13
    formulahendry  
    OP
       Aug 15, 2019 via Android
    @sun2920989 是一直无法激活,还是激活很慢?
    precisi0nux
        14
    precisi0nux  
       Aug 15, 2019 via Android
    一直在用,感谢!
    sun2920989
        15
    sun2920989  
       Aug 15, 2019
    @formulahendry 显示扩展加载中然后就没有然后了
    formulahendry
        16
    formulahendry  
    OP
       Aug 15, 2019 via Android
    @skinny powershell 3.0+ 就没问题咯?
    formulahendry
        17
    formulahendry  
    OP
       Aug 15, 2019 via Android
    @StarkWhite 这是 VS Code 插件市场统计的
    kid740246048
        18
    kid740246048  
       Aug 16, 2019 via iPhone
    不说别的,这个插件连 ahk 这种小众脚本语言都支持,真的让我好感爆棚
    skinny
        19
    skinny  
       Aug 16, 2019
    @formulahendry 没有试过 3.0,只用过 5 和 2.0
    skinny
        21
    skinny  
       Aug 16, 2019
    设置 spawn stdio 参数为: ['ignore', 'pipe', 'pipe'] 就正常了。
    formulahendry
        22
    formulahendry  
    OP
       Aug 16, 2019 via Android
    @skinny 👍
    waibunleung
        23
    waibunleung  
       Aug 16, 2019
    刚刚才知道这个插件下载来用了一下真的太棒了感谢作者
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1291 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 23:40 · PVG 07:40 · LAX 16:40 · JFK 19:40
    ♥ Do have faith in what you're doing.