Last active
February 20, 2024 06:28
-
-
Save doggy8088/6539a140f28924d3a1f053a8d3a9f49e to your computer and use it in GitHub Desktop.
Will 保哥的 VSCode 使用者設定檔
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"explorer.openEditors.visible": 0, | |
"workbench.colorTheme": "Default Light+", | |
"workbench.iconTheme": "vscode-simpler-icons", | |
"workbench.sideBar.location": "right", | |
// 需下載安裝 Fira Code 字型 (安裝 OTF 格式) | |
// https://github.com/tonsky/FiraCode/releases | |
// 需下載客製化過的 Microsoft YaHei Mono 字型 | |
// https://github.com/doggy8088/MicrosoftYaHeiMono-CP950 | |
"editor.fontFamily": "'Fira Code', 'Microsoft YaHei Mono', Consolas, 'Courier New', monospace", | |
// 要啟用連體字型(Fira Code)必須將以下設定打開 | |
"editor.fontLigatures": true, | |
"editor.renderIndentGuides": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.minimap.enabled": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.formatOnSave": false, | |
"editor.wordWrap": "on", | |
"prettier.singleQuote": true, | |
"typescript.referencesCodeLens.enabled": false, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"tslint.enable": true, | |
"tslint.autoFixOnSave": true, | |
"movets.skipWarning": true, | |
"html.suggest.angular1": false, | |
"html.suggest.ionic": false, | |
"[html]": { | |
"editor.autoIndent": false | |
}, | |
"csharp.format.enable": false, | |
"csharpfixformat.style.enabled": true, | |
"csharpfixformat.style.spaces.beforeParenthesis": false, | |
"csharpfixformat.style.braces.onSameLine": false, | |
"csharpfixformat.style.newline.elseCatch": true, | |
"git.autofetch": true, | |
"git.enableCommitSigning": false, | |
"git.enableSmartCommit": true, | |
"git.confirmSync": false, | |
"files.associations": { | |
"*.csproj": "msbuild" | |
}, | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", | |
"terminal.integrated.experimentalTextureCachingStrategy": "dynamic", | |
"auto-rename-tag.activationOnLanguage": [ | |
"html", | |
"xml", | |
"php" | |
], | |
"liveServer.settings.donotShowInfoMsg": true, | |
"liveServer.settings.donotVerifyTags": true, | |
"todohighlight.include": [ | |
"**/*.js", | |
"**/*.jsx", | |
"**/*.ts", | |
"**/*.tsx", | |
"**/*.html", | |
"**/*.php", | |
"**/*.css", | |
"**/*.scss", | |
"**/*.cs" | |
], | |
"docker.languageserver.diagnostics.instructionJSONInSingleQuotes": "warning" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"explorer.openEditors.visible": 0
Ctrl+E
也可以快速找檔案,所以已開啟的編輯器就沒那麼有實用價值了。"workbench.colorTheme": "Default Light+"
"workbench.iconTheme": "vscode-simpler-icons"
"workbench.sideBar.location": "right"
Ctrl+B
開開關關側邊攔,如果擺在左邊,每次開關側邊攔都會導致原始碼劇烈晃動,感覺不舒服。"editor.multiCursorModifier": "ctrlCmd"
Ctrl
鍵來觸發多重游標選取。"editor.minimap.enabled": false
"editor.minimap.renderCharacters": false
"prettier.singleQuote": true
"typescript.referencesCodeLens.enabled": false
"tslint.autoFixOnSave": true
"html.suggest.angular1": false
"html.suggest.ionic": false
"[html]": { "editor.autoIndent": false }
<pre>
區段時,這個設定會導致<pre>
標籤內的內容也被自動縮排,導致格式亂掉。"auto-rename-tag.activationOnLanguage": [ "html", "xml", "php" ]
<
的內容時,會導致程式被改壞,所以建議限制特定檔案才需要這個功能。"csharp.format.enable": false
"git.autofetch": true
git fetch
"git.enableCommitSigning": false
true
)"git.enableSmartCommit": true
git add
( Stage ) 的話,預設會自動全部 Commit,不會再先問過。"git.confirmSync": false