zoukankan      html  css  js  c++  java
  • vs code 设置

    1. https://blog.csdn.net/onlyliii/article/details/82385949
    2. https://www.cnblogs.com/benbentu/p/9661998.html
       1 {
       2   "explorer.confirmDelete": false,
       3   "files.autoSave": "afterDelay",
       4   "window.zoomLevel": 0, // 调整窗口的缩放级别
       5   // "workbench.colorTheme": "Visual Studio Dark",  // 指定用在工作台中的颜色主题
       6 
       7   "javascript.format.insertSpaceBeforeFunctionParenthesis": true,// 让函数(名)和后面的括号之间加个空格
       8   "editor.tabSize": 2, //制表符符号eslint
       9   "editor.formatOnSave": false, //每次保存自动格式化
      10   // "prettier.eslintIntegration": true, //让prettier使用eslint的代码格式进行校验
      11   "prettier.semi": false, //去掉代码结尾的分号
      12   "prettier.singleQuote": true, //使用带引号替代双引号
      13   "vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html
      14   "vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器自带的ts格式进行格式化
      15   "vetur.format.defaultFormatterOptions": {
      16     "js-beautify-html": {
      17       "wrap_attributes": "force-aligned" //属性强制折行对齐
      18     }
      19   },
      20 
      21   "[html]": {
      22     "editor.defaultFormatter": "HookyQR.beautify" // .html 文件采用 beautify 做为默认格式化程序
      23   },
      24   "[javascript]": {
      25     "editor.defaultFormatter": "HookyQR.beautify"
      26   },
      27   
      28   // 在文件中对那些语法进行格式化
      29   "beautify.language": {
      30     "js": {
      31       "type": [
      32         "javascript",
      33         "json"
      34       ],
      35       "filename": [
      36         ".jshintrc",
      37         ".jsbeautify"
      38       ]
      39     },
      40     "css": [
      41       "css",
      42       "scss"
      43     ],
      44     "html": [
      45       "htm",
      46       "html",
      47       "vue" //在这里加上vue
      48     ]
      49   },
      50   "editor.suggestSelection": "first",
      51   "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
      52   "open-in-browser.default": "C:/Users/Administrator/AppData/Local/Google/Chrome/Application/chrome.exe",
      53   "editor.wordWrap": "on",
      54   "[vue]": {
      55     "editor.defaultFormatter": "HookyQR.beautify"
      56   },
      57   "files.associations": {
      58   
      59   }
      60 }
  • 相关阅读:
    div布局的几点体会
    DIV高度的问题
    想修改CSS
    如何在EXCEL SHEET中 动态添加控件
    div的背景设置的问题
    CSS的资源
    远程调试
    Javascript跨域访问解决方案 Leone
    再谈PHP开发者常犯的10个MySQL错误 Leone
    开发人员需要熟知的常用Linux命令之八:Version、Kernel查看 Leone
  • 原文地址:https://www.cnblogs.com/zhuyujie/p/12799977.html
Copyright © 2011-2022 走看看