-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathsettings.json
More file actions
30 lines (27 loc) · 1.19 KB
/
settings.json
File metadata and controls
30 lines (27 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
// "python.defaultInterpreterPath": "/venv/bin/python3",
// "window.zoomLevel": 1, // 視窗縮放
"editor.fontSize": 22,
"editor.lineHeight": 26,
"terminal.integrated.fontFamily": "MesloLGS NF",
"editor.fontFamily": "MesloLGS NF",
"extensions.ignoreRecommendations": true, // 是否忽略顯示建議的套件
"files.trimTrailingWhitespace": true, // 儲存的時候,會幫你自動過濾多餘的空格
"files.encoding": "utf8", // 設定預設編碼
"files.autoGuessEncoding": false,
"files.autoSave": "onFocusChange", // 是否自動儲存檔案
// "files.autoSave": "afterDelay",
// "files.autoSaveDelay": 500,
// "workbench.colorTheme": "One Dark Pro", // 需安裝 One Dark Pro
"editor.selectionClipboard": false, // 關閉滑鼠滾輪中鍵複製功能
"editor.stickyScroll.enabled": true, // Sticky Scroll 預設是打開的
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
// "source.fixAll": "explicit",
"source.organizeImports": "explicit",
}
},
"editor.defaultFormatter": "charliermarsh.ruff", // 需要安裝 Ruff
// "ruff.organizeImports": true
}