Multiple commands/tasks with Visual Studio Code

后端 未结 5 1908
清歌不尽
清歌不尽 2020-12-05 00:31

I have a local folder that I use as a scratch pad for multiple little sample and toy pieces of code. I store a host of python, C++, shell scripts etc. in this directory.

5条回答
  •  春和景丽
    2020-12-05 00:54

    I made this script.

    It requires that you install python IDLE in your environment. This will open the IDLE and run your python file each time you run your task (CTRL+Shift+B).

    {
        "version": "0.1.0",             
        "command": "/usr/bin/idle",
        "isShellCommand": false,
        "showOutput": "never",
        "args": ["-r","${file}"]    
    } 
    

提交回复
热议问题