settings.json
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/*.pyc": true
}
,
"files.encoding": "gb18030",
"editor.renderControlCharacters": true,
"editor.renderWhitespace":"boundary",
"editor.wrappingColumn": 0,
// 保存py脚本时,自动执行pyflake检查
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.py$",
"isAsync": true,
"cmd": "python E:/develop/Python27/Scripts/pyflakes ${file}"
}
],
"autoClearConsole": true
}
}
Run on Save -
emeraldwalk
保存时,执行某些命令:如检查文件之类的
// 保存py脚本时,自动执行pyflake检查
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.py$",
"isAsync": true,
"cmd": "python E:/Python27/Scripts/pyflakes ${file}"
}
]
}