我的vscode配置 利用Settings Sync一鍵安裝

{"prettier.eslintIntegration": true, // 點擊保存時,根據 eslint 規則自定修復,同時集成 prettier 到 eslint 中"prettier.semi": false, //去掉代碼結尾的分號"prettier.singleQuote": true, //使用帶引號替代雙引號"vetur.validation.template": false,"vetur.format.defaultFormatter.html": "prettyhtml","vetur.format.defaultFormatter.js": "prettier-eslint","vetur.format.defaultFormatterOptions": {"prettier": {"singleQuote": true,"semi": false}},"eslint.autoFixOnSave": true,// 為了避免和 eslint 沖突,講編輯器默認的代碼檢查規則關閉(如果開啟了)"editor.formatOnSave": false,// 是否開啟eslint檢測"eslint.enable": true,"tslint.enable": true,"tslint.autoFixOnSave": true,"eslint.alwaysShowStatus": true,"eslint.validate": ["javascript","javascriptreact",{ "language": "vue", "autoFix": true }],"path-autocomplete.pathMappings": {"@": "${folder}/src","src": "${folder}/src","utils": "${folder}/src/utils","services": "${folder}/src/services","vuexPath": "${folder}/src/vuex","components": "${folder}/src/components",},"search.followSymlinks": false,"search.exclude": {"**/node_modules": true,"**/bower_components": true,"**/.cache": true,"**/.cache-loader": true,"build/": true,"temp/": true,"library/": true,"**/*.anim": true},"files.exclude": {"**/.git": true,"**/.DS_Store": true,"**/*.meta": true,"library/": true,"local/": true,"temp/": true},"powermode.enabled": true,"powermode.presets": "flames","editor.tabSize": 2,"editor.lineHeight": 24,"editor.renderLineHighlight": "none","editor.renderWhitespace": "none","editor.fontSize": 14,"editor.cursorBlinking": "smooth","editor.multiCursorModifier": "ctrlCmd","editor.formatOnPaste": false,"editor.snippetSuggestions": "top","workbench.colorTheme": "Monokai","breadcrumbs.enabled": true,"workbench.startupEditor": "newUntitledFile","files.trimTrailingWhitespace": true,"files.associations": {"*.vue": "vue","*.html": "html","*.wxss": "css","*.wxml": "html","*.js": "javascript"},// 配置emmet是否啟用tab展開縮寫// "emmet.triggerExpansionOnTab": true,// 配置emmet對文件類型的支持,比如vue后綴文件按照html文件來進行emmet擴寫// "emmet.syntaxProfiles": {//   "vue-html": "html",//   "vue": "html",//   "javascript": "javascript",//   // "javascript": "javascriptreact",//   // xml類型文件默認都是單引號,開啟對非單引號的emmet識別//   "xml": {//     "attr_quotes": "single"//   }// },// 在react的jsx中添加對emmet的支持// "emmet.includeLanguages": {//   "jsx-sublime-babel-tags": "javascriptreact",//   "javascript”": "javascript",//   "wxml": "html"// },"team.showWelcomeMessage": false,//  go"go.goroot": "/usr/local/go", //默認/usr/local/go"go.gopath": "/Users/liulu/Documents/work/go_project","sync.gist": "262619791ad5e6b8e40f44b193444b5a","explorer.confirmDragAndDrop": false,"javascript.updateImportsOnFileMove.enabled": "never","javascript.implicitProjectConfig.experimentalDecorators": true,"python.pythonPath": "/usr/local/bin/python3.7","fileheader.configObj": {"autoAdd": false, // 默認開啟},"fileheader.customMade": {"Description": ""}, // 頭部注釋"fileheader.cursorMode": {"description": "","param": "","return": ""},"window.zoomLevel": 0,"editor.minimap.enabled": true,"files.eol": "\n","[javascript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[html]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[jsonc]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"window.title": "${activeEditorLong}${separator}${rootName}","[typescript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[json]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"workbench.iconTheme": null,"typescript.updateImportsOnFileMove.enabled": "always"
}

  

轉載于:https://www.cnblogs.com/smzd/p/9272247.html

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/249866.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/249866.shtml
英文地址,請注明出處:http://en.pswp.cn/news/249866.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

IdentityServer4【QuickStart】之使用asp.net core Identity

使用asp.net core Identity IdentityServer靈活的設計中有一部分是可以將你的用戶和他們的數據保存到數據庫中的。如果你以一個新的用戶數據庫開始,那么,asp.net core Identity是一個選擇。這個示例演示了如何在IdentityServer中使用asp.net core Ientit…

vue demo1

1.開發工具 試過sublime,現在轉戰vscode,覺得很順手,總之啥工具習慣就好。 vscode用著不錯的插件,推薦安裝。 2.項目目錄介紹 vue-cli生成的項目目錄有點多,初看有點懵,梳理一下會好很多。 ├── ind…

mysql日志介紹

1. 錯誤日志 錯誤日志記錄的事件: a. 服務器啟動關閉過程中的信息 b. 服務器運行過程中的錯誤信息 c. 事件調試器運行一個事件時間生的信息 d. 在從服務器上啟動從服務器進程時產生的信息 2. 查詢日志 查詢日志記錄查詢語句與啟動時間,建議不是在調試環境…

Mac OS X終端的常用操作命令(UNIX指令)

用了十多年windows,終于換了個高配Mac,俗話說 無論前端還是后端最終還是走向了linux,無論是換了多少臺PC最終都會走向Mac。不學習命令行用什么Mac? 干就完了~ pwd 顯示現在的文件路徑 (print working directory) ls 顯示…

索引( index )

索引在龐大的數據庫上最能體現出作用,所謂索引就是根據需求將指定的列提取出來做索引表,可以顯著提高在查找數據方面的速度。 在索引的前提下還可以指定索引值是否唯一,索引值是單列或是多列索引。 根據索引類型,索引分為&#xf…

dependencies 和 devDependencies 區別

當我們項目需要下載一個模塊的時候,我們安裝npm包(在項目目錄下面npm install module_name)的時候,很多時候我們會在后面加上–save-dev 或 –save。這兩個參數代表什么呢? 初識 相信很多人都會回答: np…

CentOS下防御或減輕DDoS攻擊方法(轉)

查看攻擊IP 首先使用以下代碼,找出攻擊者IP netstat -ntu | awk {print $5} | cut -d: -f1 | sort | uniq -c | sort -n 將會得出類似如下的結果: 1 114.226.9.132 1 174.129.237.157 1 58.60.118.142 1 Address 1 servers) 2 118.26.131.78 3 123.125.1…

iTerm2 快捷鍵

Ctrl a:將光標移動到命令行首 Ctrl e:將光標移動到命令行尾 Ctrl w:刪除光標前的一個單詞 Ctrl u:刪除所有內容 Ctrl y:粘貼上次刪除的內容 Ctrl r:搜索歷史命令刪除光標之前的單詞:ctrl …

vscode - 添加背景圖片

首先,CtrlShiftP安裝backround , 而后重啟vscode會有默認的背景圖片 修改背景圖,可自定義三張 具體請看gif圖 最開始時,發現png根本不是全透明,用ps處理了一下(下列所有操作均字母組合) 1.1 Ctr…

架構設計雜談004——架構師

什么是架構設師 架構師是:負責系統架構設計的人、團隊或組織 架構師主要干什么 ●架構師是技術領導,領導并負責架構設計,負責做決策 ●架構師可以是團隊或組織,這個時候通常會有首席架構師 ●架構師必須掌握足夠的技術知識 ●架構…

學習JS基本數據類型與對象的valueOf方法

https://blog.csdn.net/licheng11403080324/article/details/60128090 https://yq.aliyun.com/articles/399499 轉載于:https://www.cnblogs.com/smzd/p/9548530.html

security和oauth2.0的整合

security和oauth2.0的整合 之前已經介紹過security的相關的介紹,現在所需要做的就是security和oauth2.0的整合,在原有的基礎上我們加上一些相關的代碼;代碼實現如下: pom.xml: <?xml version"1.0" encoding"UTF-8"?> <project xmlns"http:…

關于Vue.use()詳解

問題 相信很多人在用Vue使用別人的組件時&#xff0c;會用到 Vue.use() 。例如&#xff1a;Vue.use(VueRouter)、Vue.use(MintUI)。但是用 axios時&#xff0c;就不需要用 Vue.use(axios)&#xff0c;就能直接使用。那這是為什么吶&#xff1f; 答案 因為 axios 沒有 install。…

百度TTS的來由

#### https://home-assistant.io/components/tts.baidu/#### https://github.com/charleyzhu/HomeAssistant_Components#### 當前使用自定義組件 https://bbs.hassbian.com/thread-1152-1-1.html#### 2018-3-15添加百度云語音識別 - platform: baidu language: zh app_i…

eslint 禁用命令

/* eslint-disable */ ESLint 在校驗的時候就會跳過后面的代碼還可以在注釋后加入詳細規則&#xff0c;這樣就能避開指定的校驗規則了/* eslint-disable no-new */常用&#xff1a; rules: {"comma-dangle": ["error", "never"], //是否允許對象…

分布式工具的一次小升級?

前言 之前在做 秒殺架構實踐 時有提到對 distributed-redis-tool 的一次小升級&#xff0c;但是沒有細說。 其實主要原因是&#xff1a; 秒殺時我做壓測&#xff1a;由于集成了這個限流組件&#xff0c;并發又比較大&#xff0c;所以導致連接、斷開 Redis 非常頻繁。 最終導致獲…

淺談vue $mount()

Vue 的$mount()為手動掛載&#xff0c;在項目中可用于延時掛載&#xff08;例如在掛載之前要進行一些其他操作、判斷等&#xff09;&#xff0c;之后要手動掛載上。new Vue時&#xff0c;el和$mount并沒有本質上的不同。 具體見代碼&#xff1a; 順便附上vue渲染機制流程圖&a…

小三角

{border-color: transparent;border-right-color: #e5e5e5;border-width: 7px;margin-top: -7px;right: 100%;top: 20px;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none; }轉載于:https://www.cnblogs.com/smz…

Laravel日志查看器 -- log-viewer擴展

1.修改laravel配置文件. config\app.php log>daily 2.在項目目錄中composer命令安裝擴展&#xff1a;composer require arcanedev/log-viewer 3.安裝成功后&#xff0c;需要在config\app.php 的providers陣列中注冊服務 Arcanedev\LogViewer\LogViewerServiceProvider::clas…

論一個程序員的自我修養-從一張圖片說起

故事起源 本來今天想寫.NET Core實戰之CMS系統第十五篇文章的。哈&#xff0c;奈何今天在新生命人脈群里面看到石頭哥分享的一張圖片&#xff0c;然后大家就議論了起來&#xff0c;不過我看的很懵逼&#xff0c;這圖什么意思啊&#xff1f;當一個朋友講述了這個圖片背后的故事的…