牙叔教程 簡單易懂
我常用的腳本語言是js, python.
AutoHotkey v2 Language Support vscode-autohotkey-debug 由于工作有寫重復, 要用到autohotkey, 所以裝這個插件
Black Formatter 格式化python代碼
Bookmarks 書簽
change-case 命名方式: 小駝峰, 下劃線, 等命名風格轉換
Code Runner 右鍵直接運行代碼, 可以設置用終端執行代碼.
"code-runner.runInTerminal": true,
Code Spell Checker 單詞拼寫檢查
Comment Divider 快速生成一行 分隔符
EditorConfig for VS Code 統一配置, 可以為js和python設置不同的空格數 js 一個tab兩個空格 python 一個tab四個空格
# Editor configuration, see http://editorconfig.org ? # 表示是最頂層的 EditorConfig 配置文件 root = true ? [*] # 表示所有文件適用 end_of_line = lf # 控制換行類型(lf | cr | crlf) insert_final_newline = false # 在文件結尾插入新行 charset = utf-8 # 設置文件字符集為 utf-8 trim_trailing_whitespace = true # 刪除一行中的前后空格 trim_trailing_whitespace = true # 去除行首的任意空白字符 max_line_length=120 ? [*] indent_style = space # 縮進風格(tab | space) indent_size = 2 # 縮進大小 ? # 對于JavaScript文件,使用2個空格作為縮進 [*.js] indent_style = space indent_size = 2 ? # 對于Python文件,使用4個空格作為縮進 [*.py] indent_style = space indent_size = 4 ? [*.md] # 表示僅 md 文件適用以下規則 max_line_length = off trim_trailing_whitespace = false ?
ESLint js代碼檢查
Flake8 python代碼檢查 如果要忽略錯誤, 可以設置
"flake8.args": ["--max-line-length=3333", "--ignore=W292,E225,E203,W503"],
Highlight Matching Tag 高亮匹配標簽
JavaScript Code Snippet js代碼片段, 有的人推薦es6那個代碼片段, 但是那個在2020年就停止更新了, 這個在2024年還在更新, 所以我就用它了
Markdown All in One 預覽markdown
Material Icon Theme 文件圖標
npm Intellisense 自動補全npm模塊
Peacock 為vscode邊欄設置不同的顏色
Prettier - Code formatter 格式化js
Print It 快速打印 如果不是常見語言, 可以設置默認打印格式
"print-it.default.template": "OutputDebug(\"{{escaped}} is:\" . {{raw}} . \"`n\")",
Project Manager 在左側快速打開項目
Python Python Debugger Python Snippets 3 autoDocstring - Python Docstring Generator
Remove Blank Lines 移除空行
Todo List 任務列表
Todo Tree 標記要修改的代碼
CodeSnap 代碼截圖美化
Color Highlight 顯示顏色
Dependency Cruiser Extension 簡單的依賴圖
Excel Viewer 表格瀏覽
Hex Editor 查看文件十六進制
IP Address 顯示電腦ip
JSDoc Generator 生成JSDoc
koroFileHeader 生成代碼注釋
Live Server 加載網頁
Remote - SSH Remote Explorer Remote - SSH: Editing Configuration Files 遠程服務器
tree-generator 生成文件目錄
vscode其他不常見設置
{"explorer.copyRelativePathSeparator": "/", // 相對路徑使用斜桿"editor.minimap.renderCharacters": false, // 編輯器右側顯示代碼還是色塊"diffEditor.ignoreTrimWhitespace": true, // 控制差異編輯器是否忽略前導空格或尾隨空格中的更改"diffEditor.renderIndicators": true, // 控制差異編輯器是否為添加/刪除的更改顯示 +/- 指示符號"[plaintext]": {"editor.rulers": [32]}, // 顯示標尺線"terminal.integrated.profiles.windows": {"Custom Init": {"path": "D:/git/Git/bin/bash.exe"}}, // 指定終端"workbench.colorCustomizations": {"editorRuler.foreground": "#586d5b","editor.lineHighlightBackground": "#1073cf2d","editor.lineHighlightBorder": "#9fced11f","editor.selectionBackground": "#7f1485","editor.findMatchBorder": "#bfc213","editor.selectionHighlightBorder": "#e61453","tab.activeBackground": "#383f37" // 活動欄顏色},"todo-tree.highlights.defaultHighlight": {"icon": "alert","type": "text","foreground": "#ff0080","background": "#ffff00","opacity": 30,"iconColour": "#ffff00","border": "1px solid red","borderRadius": "8px"}, // todotree插件顏色"editor.tabSize": 2, // 重新設定tabsize"files.autoSaveDelay": 1000, // 文件自動延遲保存"files.eol": "\n" // 默認行尾字符。 LF } ?