vscode中settings配置

{
  "workbench.iconTheme": "material-icon-theme",
  "liveServer.settings.CustomBrowser": "chrome",
  "liveServer.settings.AdvanceCustomBrowserCmdLine": "chrome --incognito --remote-debugging-port=9222",
  "editor.formatOnSave": true,
  "html.format.indentInnerHtml": true,
  "html.format.indentHandlebars": true,
  "eslint.format.enable": true,
  "prettier.requirePragma": true,
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  },
  "editor.fontSize": 18,
  "editor.tabSize": 2,
  //"window.zoomLevel": 1,
  "php.validate.executablePath": "G:/wamp/bin/php/php5.5.12/php.exe",
  "php.executablePath": "G:/wamp/bin/php/php5.5.12/php.exe",
  "code-runner.runInTerminal": true,
  //分号
  "prettier.semi": false,
  //单引号包裹字符串
  "prettier.singleQuote": true,
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "auto"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false,
      "wrapAttributes": false,
      "sortAttributes": false
    }
  },
  //html格式化依赖  默认为none
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  //函数前加空格
  // "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  //没有下边这个 上边不生效
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "vsicons.dontShowNewVersionMessage": true,
  "liveServer.settings.donotShowInfoMsg": true,
  "workbench.settings.editor": "json",
  "[javascript]": {
    "editor.defaultFormatter": "HookyQR.beautify"
  },
  "[html]": {
    "editor.defaultFormatter": "HookyQR.beautify"
  },
  "files.autoGuessEncoding": true,
  "[json]": {
    "editor.quickSuggestions": {
      "strings": true
    },
    "editor.suggest.insertMode": "replace"
  },
  "explorer.confirmDelete": false,
  //less
  "less.compile": {
    "compress": false, //是否压缩
    "sourceMap": false, //是否生成map文件,有了这个可以在调试台看到less行数
    // 是否输出css文件,false为不输出   "out": true, 
    "outExt": ".css", // 输出文件的后缀,小程序可以写‘wxss‘
    "out": "$(workspaceRoot)\\css\\"
  },
  "explorer.confirmDragAndDrop": false,
  "compile-hero.generate-minified-javascript": true,
  "git.enableSmartCommit": true,
  "git.autofetch": true,
  "backgroundCover.imagePath": "c:\\Users\\Administrator\\Desktop\\照片\\背景图\\2042333.jpg",
  "backgroundCover.opacity": 0.4,
  "cSpell.userWords": [
    "btns",
    "cmessage",
    "cmovies",
    "cpnm",
    "datas",
    "do",
    "fruitq",
    "lemonw",
    "mouseevent",
    "nums",
    "otherthing",
    "plugin",
    "shopcart",
    "submenu",
    "uglifyjs",
    "uglifyjs webpack plugin",
    "vuex",
    "webpack",
    "yscxxj"
  ],
  "files.associations": {
    "*.vue": "vue",
    "*.cjson": "jsonc",
    "*.wxss": "css",
    "*.wxs": "javascript"
  },
  "eslint.codeAction.showDocumentation": {
    "enable": true
  },
  // 保存换行start
  "editor.wordWrap": "on",
  "vetur.format.defaultFormatter.scss": "none",
  
  // 保存换行end
  "emmet.includeLanguages": {
    "wxml": "html"
  },
  "minapp-vscode.disableAutoConfig": true,
  "bracketPairColorizer.depreciation-notice": false,
  "bracket-pair-colorizer-2.depreciation-notice": false,
  "git.ignoreMissingGitWarning": true,
  "files.autoSave": "off",
  "editor.minimap.showSlider": "always",
  "tabnine.experimentalAutoImports": true,
  "window.zoomLevel": -1,
  "interview.workspaceFolder": "C:\\Users\\jun\\.FEInterview",
  "vetur.validation.template": false
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值