vscode的 code-runner插件运行前保存

哎还是喜欢在终端输出,那个output总是不喜欢

file->settings中设置全局的
{
    "python.pythonPath": "C:\Python27\ArcGIS10.2\python2.exe",
    "code-runner.executorMap": {
        "python":"$pythonPath $fullFileName",
    },
    "code-runner.saveFileBeforeRun": true,
    "code-runner.runInTerminal": true
}
 
原文地址:https://www.cnblogs.com/yansc/p/13895314.html