libra-gyf

vscode _coderunner 中文乱码

设置使用 built-in terminal

    1) 首先到用户设置中搜索设置Code-runner: Language ID To File Extension Map

      点击"在settings.json中编辑"

 

   2)添加如图所示代码, 保存即可
"code-runner.runInTerminal": true,

 

 
    
{
    "files.autoSave": "afterDelay",
    "window.zoomLevel": 0,
    "editor.fontSize": 18,
    "python.pythonPath": "D:\\ProgramData\\Anaconda3\\envs\\py37\\python.exe",
    "code-runner.clearPreviousOutput": true,
    "code-runner.runInTerminal": true,
}

 

 方法二:

  在cmd中输入

  CHCP 65001

posted on 2020-03-11 20:23  libra-gyf  阅读(759)  评论(0编辑  收藏  举报

导航