{
// vscode默认启用了根据文件类型自动设置tabsize的选项
"editor.detectIndentation": false,
// 重新设定tabsize
"editor.tabSize": 2,
// #每次保存的时候将代码按eslint格式进行修复
"eslint.autoFixOnSave": true,
// 添加 vue 支持
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
// #让prettier使用eslint的代码格式进行校验
// "prettier.eslintIntegration": true,
// #去掉代码结尾的分号
"prettier.semi": false,
// #使用带引号替代双引号
"prettier.singleQuote": true,
"prettier.printWidth": 240,
"prettier.proseWrap": "preserve",
// #让函数(名)和后面的括号之间加个空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
// #这个按用户自身习惯选择
"vetur.format.defaultFormatter.html": "js-beautify-html",
// #让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto"
// #vue组件中html代码格式化样式
},
"prettier": {
"printWidth": 14000,
"wrapAttributes": false,
"sortAttributes": false,
"proseWrap": "preserve"
}
},
// 格式化stylus, 需安装Manta's Stylus Supremacy插件
"stylusSupremacy.insertColons": true, // 是否插入冒号
"stylusSupremacy.insertSemicolons": true, // 是否插入分好
"stylusSupremacy.insertBraces": true, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": true, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false,
"editor.wordWrapColumn": 8000,
"editor.formatOnPaste": true,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.formatOnSave": true,
"update.mode": "none",
"workbench.activityBar.visible": true, // 两个选择器中是否换行
"leek-fund.stocks": [
"sh000001",
"sh600519",
"sh600584",
"sh600900",
"sh600559",
"sh601398",
"sh601899",
"sh600837",
"sz002414",
"sz002136",
"sz002194",
"sh600111",
"sz002624",
"sz300059",
"sh601919",
"sh600887",
"sz000519",
"sz002550",
"sz000830",
"sh600036",
"sz002891",
"sz002407",
"sh600328",
"sh600438",
"sh601225",
"sz000422",
"sh600522",
"sz002984",
"sh601012",
"sh601022",
"sh600089",
"sz002027",
"sh603387",
"sz002230",
"sz002241",
"sz002714",
"sz002326",
"sz000858",
"sz000681",
"sh600580",
"sh600332",
"sh600188",
"sh600392",
"sz002415"
],
"leek-fund.updateInterval": 3000,
"workbench.sideBar.location": "left",
"winopacity.opacity": 255,
"sync.gist": "f1d00e0202859f2a61b9b3a093b6675012bcebdd ",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"leek-fund.interval": 3000,
"leek-fund.statusBarStock": [
"sh601022",
"sh600328",
"sz002326",
"sh000001"
],
"leek-fund.newsUserIds": [
"5124430882",
"1287305957",
"3079173340"
],
"leek-fund.riseColor": "white",
"leek-fund.funds": [
[
"159995",
"512800",
"512880",
"159825",
"159790",
"516020",
"516160",
"159806",
"159949",
"515790",
"588000",
"512690",
"512710",
"512170"
]
],
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"leek-fund.stockSortType": "0",
"leek-fund.stockSort": 1,
"compile-hero.typescriptx-output-toggle": false,
"compile-hero.typescript-output-toggle": false,
"compile-hero.scss-output-toggle": false,
"compile-hero.sass-output-toggle": false,
"compile-hero.pug-output-toggle": false,
"compile-hero.notification-toggle": false,
"compile-hero.less-output-toggle": false,
"compile-hero.javascript-output-toggle": false,
"compile-hero.jade-output-toggle": false,
"compile-hero.disable-compile-files-on-did-save-code": false,
"leek-fund.fundSort": 1,
"zhihu.useVSTheme": true,
"zhihu.enableMermaidToPng": true,
"zhihu.mermaidTheme": "dark", // 支持设置 mermaid 图片主题,默认值是 "default"
"settingsSync.ignoredSettings": [],
"leek-fund.fundAmount": {},
"leek-fund.iconType": "arrow",
"leek-fund.flash-news": true,
"editor.rulers": [],
"leek-fund.binance": [
"BTC_USDT",
"ETH_USDT",
"EOS_USDT"
],
"editor.fontSize": 12,
"vetur.ignoreProjectWarning": true,
"leek-fund.fundGroups": [
"我的基金"
],
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
}
vscode setting配置
最新推荐文章于 2024-03-28 21:35:59 发布