插件
- Auto Close Tag 自动关闭标签
- Auto Rename Tag 自动修改标签
- Bracket Pair Colorizer 多层括号不同颜色显示
- EditorConfig for VSCode 统一编辑器配置
- ESlint js代码检查
- htmlhint html代码检查
- File Icons 导航栏文件图标
- OneDark-Pro 主题
- Path Intellisense 路径提示/路径补全
- Prettier 代码格式化
- Sublime Text Keymap sublime快捷键
- Vetur vue的插件
编辑器配置
- {
- /*编辑器默认配置 */
- "editor.minimap.enabled": true,
- "editor.lineHeight": 20,
- "editor.fontSize": 14,
- "editor.wordWrap": "on",
- "editor.fontFamily": "Fira Code",
- "editor.fontLigatures": true,
- "editor.minimap.renderCharacters": false,
- /* vue文件支持emmnt */
- "emmet.syntaxProfiles": {
- "vue-html": "html",
- "vue": "html"
- },
- /* 配置文件关联 */
- "files.associations": {
- "*.vue": "vue"
- },
- /* 失去焦点自动保存 */
- "files.autoSave": "onFocusChange",
- "[vue]": {},
- /* 使用cmder */
- "terminal.external.windowsExec": "D://SystemDrivers//cmder",
- "workbench.iconTheme": "file-icons",
- /* sublime 配置项 */
- "sublimeTextKeymap.promptV3Features": true,
- /* 多光标编辑冲突修复 */
- "editor.multiCursorModifier": "ctrlCmd",
- "editor.snippetSuggestions": "top",
- "editor.formatOnPaste": true,
- "python.formatting.provider": "yapf",
- /* 使用one Dark*/
- "workbench.colorTheme": "One Dark Pro",
- /* one Dark侧栏配置 */
- "workbench.colorCustomizations": {
- "tab.activeBackground": "#282c34",
- "activityBar.background": "#282c34",
- "editorGroup.background": "#282c34",
- "sideBar.background": "#282c34"
- },
- // "vetur.format.defaultFormatter.js": "vscode-typescript",
- "javascript.format.enable": false,
- "editor.tabSize": 2,
- /* 每次保存的时候自动格式化 */
- "editor.formatOnSave": true,
- /* 每次保存的时候将代码按eslint格式进行修复 */
- "eslint.autoFixOnSave": false,
- /* 双引号变单引号 */
- "prettier.singleQuote": true,
- /* js语句结尾删除分号 */
- "prettier.semi": false,
- /* 让prettier使用eslint的代码格式进行校验 */
- "prettier.eslintIntegration": true,
- /* 让函数(名)和后面的括号之间加个空格 */
- "eslint.validate": [
- "javascript",
- "javascriptreact",
- {
- "language": "vue",
- "autoFix": true
- }
- ],
- "window.zoomLevel": 0
- }
- 最新版本
- {
- "sublimeTextKeymap.promptV3Features": true,
- "editor.multiCursorModifier": "ctrlCmd",
- "editor.snippetSuggestions": "top",
- "editor.formatOnPaste": true,
- "editor.wordWrap": "on",
- "git.autofetch": true,
- "editor.cursorStyle": "block",
- "editor.lineHeight": 24,
- "editor.minimap.enabled": false,
- "editor.renderIndentGuides": ;
- "editor.rulers": [
- 120
- ],
- "editor.quickSuggestions": {
- "other": true,
- "comments": true,
- "strings": true
- },
- /*稀有字体*/
- "editor.fontFamily": "Fira Code",
- " editor.fontLigatures": true,
- /* 使用one Dark*/
- "workbench.colorTheme": "One Dark Pro",
- /* one Dark侧栏配置 */
- // "workbench.colorCustomizations": {
- // "tab.activeBackground": "#282c34",
- // "activityBar.background": "#282c34",
- // "editorGroup.background": "#282c34",
- // "sideBar.background": "#282c34"
- // },
- /* 失去焦点自动保存 */
- "files.autoSave": "onFocusChange",
- /* 每次保存的时候自动格式化 */
- "editor.formatOnSave": true,
- /* 双引号变单引号 */
- "prettier.singleQuote": true,
- /* js语句结尾删除分号 */
- "prettier.semi": false,
- "vetur.format.defaultFormatter.html": "prettier",
- /* 让prettier使用eslint的代码格式进行校验 */
- // "prettier.eslintIntegration": true,
- }