mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"C_Cpp.errorSquiggles": "enabled",
|
|
"terminal.integrated.env.linux": {
|
|
"PYTHONPATH": "${workspaceFolder}${pathSeparator}${env:PYTHONPATH}"
|
|
},
|
|
"cSpell.words": [
|
|
"aiofiles",
|
|
"Alconna",
|
|
"arclet",
|
|
"Arparma",
|
|
"displayname",
|
|
"flmt",
|
|
"getbbox",
|
|
"hibiapi",
|
|
"httpx",
|
|
"kaiheila",
|
|
"lolicon",
|
|
"nonebot",
|
|
"onebot",
|
|
"pixiv",
|
|
"Setu",
|
|
"tobytes",
|
|
"ujson",
|
|
"unban",
|
|
"userinfo",
|
|
"zhenxun"
|
|
],
|
|
"python.analysis.autoImportCompletions": true,
|
|
"python.testing.pytestArgs": ["tests"],
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestEnabled": true,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff", // 默认使用 Ruff 格式化
|
|
"editor.wordBasedSuggestions": "allDocuments",
|
|
"editor.formatOnType": true,
|
|
"editor.formatOnSave": true, // 保存时自动格式化
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": "explicit",
|
|
"source.organizeImports": "explicit"
|
|
}
|
|
},
|
|
"ruff.format.preview": false,
|
|
"isort.check": true,
|
|
"ruff.importStrategy": "useBundled",
|
|
"ruff.organizeImports": false,
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
"[yaml]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
},
|
|
"[markdown]": {
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
}
|
|
}
|