若是想配置 sublime 開發工具 => 面向web前端及node開發人員的vim配置javascript
若是想配置 vim 開發工具 => sublime配置及使用技巧css
所謂網紅編輯器,我以爲比vim來的更爽,由於vim的全部操做和插件,對於vs code 來講也就是一個插件就能無縫兼容。html
好比我以前是一直在使用 sublime 的,使用vs code 以後明顯感受 vscode 不管是配置仍是使用都更順手一點,學習成本很小。固然本文不是談哪一個編輯器更好的問題,每一個軟件都在發展,相互學習和補充纔是重點。前端
做爲一個前端開發,vs code 開箱即用的代碼編輯、高亮、提示都十分友好。但做爲一個追求完美的程序員,仍是裝了很多插件,好比vue
前端開發用的一些插件:java
工程化也須要一些插件:node
寫做辦公也須要一些工具呀:react
編輯器自己的插件git
其餘的一些工具程序員
我安裝了sublime 的插件,其實還有vim 的插件,安裝後無縫兼容 .vimrc 配置和 vim plugin。正常的快捷鍵能夠看參考下圖,其實和 sublime 差不了太多。
對於一些不如意的地方,能夠在配置文件中進行配置,我的感受 vs code 配置開放比 sublime 更豐富。
{ "beautify.language": { "js": { "type": [ "javascript", "json" ], "filename": [ ".jshintrc", ".jsbeautify" ] }, "css": [ "css", "scss", "less" ], "html": [ "htm", "html" ] }, "debug.showInStatusBar": "always", "debug.node.autoAttach": "off", "beautify.tabSize": 2, "css.lint.duplicateProperties": "warning", "css.lint.idSelector": "warning", "css.lint.universalSelector": "warning", "css.lint.zeroUnits": "error", "less.lint.duplicateProperties": "warning", "less.lint.idSelector": "warning", "less.lint.universalSelector": "warning", "less.lint.zeroUnits": "error", "scss.lint.duplicateProperties": "warning", "scss.lint.idSelector": "warning", "scss.lint.universalSelector": "warning", "scss.lint.zeroUnits": "error", "csv-preview.skipComments": true, "csv-preview.lineNumbers": true, "editor.formatOnPaste": true, "editor.find.autoFindInSelection": true, "editor.formatOnSave": true, "editor.fontSize": 14, "editor.formatOnType": true, "editor.multiCursorModifier": "ctrlCmd", "editor.minimap.enabled": false, "editor.snippetSuggestions": "top", "editor.tabSize": 2, "editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?", "emmet.includeLanguages": { "vue-html": "html", "javascript": "javascriptreact" }, "emmet.triggerExpansionOnTab": true, "emmet.showAbbreviationSuggestions": false, "eslint.autoFixOnSave": true, "eslint.options": { "configFile": "/Users/faremax/eslintrc.json" }, "eslint.run": "onSave", "eslint.workingDirectories": [ "./public", "./src" ], "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "explorer.openEditors.visible": 4, "files.associations": { "*.ux": "ux" }, "files.autoSave": "onFocusChange", "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/node_modules": true }, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, "git.detectSubmodules": false, "gulp.autoDetect": "off", "grunt.autoDetect": "off", "html.format.wrapLineLength": 0, "jake.autoDetect": "off", "javascript.implicitProjectConfig.experimentalDecorators": true, "markdown-pdf.displayHeaderFooter": false, "markdown-pdf.margin.left": "1.8cm", "markdown-pdf.margin.right": "1.8cm", "markdown-pdf.margin.top": "1cm", "markdown.preview.lineHeight": 1.5, "markdown.styles": [ "/Users/faremax/github-markdown.css" ], "markdown-pdf.styles": [ "/Users/faremax/github-markdown.css" ], "markdown-toc.insertAnchor": true, "open-in-browser.default": "Google Chrome.app", "search.exclude": { "**/node_modules": true, "**/bower_components": true, "**/build": true, "**/dist": true, }, "search.location": "sidebar", "svgviewer.enableautopreview": true, "terminal.explorerKind": "integrated", "window.restoreWindows": "all", "workbench.statusBar.feedback.visible": false, "window.zoomLevel": 0, "workbench.colorTheme": "Monokai", "workbench.startupEditor": "newUntitledFile" }
vs code 還有不少實用技巧,能夠看官方github: https://github.com/Microsoft/vscode