Recently, I re-started vscode on Linux, and the basic configuration that users feel good about has been completed.
This time we solve the problem of vscode outputting Chinese error in Python. C++ and java are similar to
Ubuntu screenshot ALt+Prt. The
red font in the figure above is the content that can be changed, and the others can be ignored.
{
"Print to console": {
"prefix": "muban",//关键字,用户输入后有提示按下即可
"body": [//用户创建自己的内容
"# -*- coding: utf-8 -*-",
"import os"
],
"description": "点击ENTER确认"
}