feat:工具细节完成

master
guoyixuan 2 months ago
parent 49a2bedc31
commit fddf53520c

@ -1,23 +1,71 @@
{
//
// ====== 1. ======
"editor.fontSize": 14, //
"editor.wordWrap": "on", //
"editor.tabSize": 2, // 2Vue
"editor.lineHeight": 24, //
"editor.tabSize": 2, // Tab 2
"editor.insertSpaces": true, // Tab
"editor.detectIndentation": false, // 使 tabSize
"editor.renderWhitespace": "none", // 'all'/'boundary'/'none'
"editor.minimap.enabled": false, //
"editor.wordWrap": "off", // Prettier
"editor.cursorSmoothCaretAnimation": "on", //
"editor.smoothScrolling": true, //
// ====== 2. (Prettier) ======
"editor.defaultFormatter": "esbenp.prettier-vscode", // Prettier
"editor.formatOnSave": true, //
// Vue
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" // 使Vetur
"editor.formatOnPaste": false, // false
"editor.formatOnType": false, // false
// ====== 3. Prettier ======
// .prettierrc .prettierrc .prettierrc
"prettier.printWidth": 100, //
"prettier.tabWidth": 2, // 2
"prettier.useTabs": false, // 使 Tab 使
"prettier.singleQuote": true, // 使
"prettier.semi": false, //
"prettier.trailingComma": "es5", // ES5
"prettier.bracketSpacing": true, //
"prettier.jsxBracketSameLine": false, // JSX
"prettier.arrowParens": "avoid", // (e.g., x => x (x) => x)
"prettier.endOfLine": "lf", // LF (Linux Line Feed)
"prettier.vueIndentScriptAndStyle": true, // Vue <script> <style>
// ====== 4. ESLint ======
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue", // ESLint .vue
"html", // HTML
"json", // JSON
"jsonc" // JSON With Comments
],
// ESLint ESLint
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"vetur.format.defaultFormatter.html": "js-beautify-html", // HTML
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_line_length": 120, //
"wrap_attributes": "auto", // auto
"end_with_newline": false //
}
},
// Prettier
"prettier.singleQuote": true, //
"prettier.semi": false, //
"files.saveConflictResolution": "overwriteFileOnDisk"
// ====== 5. Vue (Volar) ======
// Volar Vue 3
"volar.autoCreateQuotes": true, //
"volar.completion.preferredTagCasing": "auto", //
"volar.jsx.autoComplete": true,
// ====== 6. ======
//
// "files.associations": {
// "*.vue": "vue"
// },
// ====== 7. ======
"files.encoding": "utf8", //
"files.eol": "\n", // LF (Unix/Linux)
"files.trimTrailingWhitespace": true, //
"files.insertFinalNewline": true, //
"telemetry.telemetryLevel": "off" //
// ====== 8. ======
// "terminal.integrated.fontSize": 13
}

@ -150,7 +150,14 @@
display: flex;
flex-direction: column;
}
.graph-container .title {
display: flex;
align-items: center;
padding: 4px 12px;
}
.graph-container .title .time-range {
margin-left: 24px;
}
.graph-container .line-graph {
flex: 1;
min-height: 0;
@ -365,11 +372,6 @@
margin-left: 8px;
}
.total-prpd-panel
.prpd-box
.totle-prpds
.total-prpd-item
.switcher
.active-span {
.total-prpd-panel .prpd-box .totle-prpds .total-prpd-item .switcher .active-span {
color: #1890ff;
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save