"python.analysis.extraPaths": [
"./src", // 自定义模块的相对路径,可多个,可绝对路径
"./modules"
]
"files.defaultLanguage": "python", // 新建默认为Python文件
"files.autoSave": "afterDelay", // 自动保存代码
"code-runner.executorMap": {
"python": "python3 -u"
},
"notebook.lineNumbers": "on",
}
在对象集合外部加上[ ]即可