|
1 | 1 | { |
| 2 | + // general |
2 | 3 | "editor.formatOnSave": true, |
3 | 4 | "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 5 | + "editor.formatOnPaste": true, |
| 6 | + "editor.formatOnType": true, |
| 7 | + "editor.autoIndent": "advanced", |
| 8 | + "editor.autoSurround": "brackets", |
| 9 | + "editor.autoClosingBrackets": "always", |
| 10 | + "editor.autoClosingComments": "always", |
| 11 | + "editor.autoClosingQuotes": "always", |
| 12 | + "editor.bracketPairColorization.enabled": true, |
| 13 | + "editor.bracketPairColorization.independentColorPoolPerBracketType": true, |
| 14 | + "editor.colorDecorators": true, |
| 15 | + "editor.detectIndentation": true, |
| 16 | + "editor.guides.indentation": true, |
| 17 | + "editor.insertSpaces": true, |
| 18 | + "editor.lineNumbers": "on", |
| 19 | + "editor.minimap.enabled": false, |
| 20 | + "editor.comments.insertSpace": true, |
| 21 | + "editor.wordWrap": "on", |
| 22 | + "editor.wordWrapColumn": 90, |
| 23 | + "editor.rulers": [90], |
| 24 | + "editor.language.colorizedBracketPairs": [ |
| 25 | + ["{", "}"], |
| 26 | + ["[", "]"], |
| 27 | + ["(", ")"] |
| 28 | + ], |
| 29 | + "editor.tabSize": 2, |
| 30 | + "editor.smoothScrolling": true, |
| 31 | + "editor.guides.highlightActiveBracketPair": true, |
| 32 | + "editor.guides.highlightActiveIndentation": "always", |
| 33 | + "editor.renderFinalNewline": "dimmed", |
| 34 | + "chat.editor.wordWrap": "on", |
| 35 | + "editor.formatOnSaveMode": "file", |
| 36 | + |
| 37 | + // git |
| 38 | + "git.ignoreLimitWarning": true, |
| 39 | + "git.autofetch": true, |
| 40 | + "git.autofetchPeriod": 200, |
| 41 | + |
| 42 | + // prettier |
| 43 | + "prettier.enable": true, |
| 44 | + "prettier.trailingComma": "all", |
| 45 | + "prettier.singleQuote": false, |
| 46 | + "prettier.embeddedLanguageFormatting": "auto", |
| 47 | + "prettier.bracketSameLine": true, |
| 48 | + "prettier.bracketSpacing": true, |
| 49 | + "prettier.arrowParens": "always", |
| 50 | + "prettier.jsxSingleQuote": false, |
| 51 | + "prettier.quoteProps": "as-needed", |
| 52 | + "prettier.proseWrap": "always", |
| 53 | + "prettier.useTabs": false, |
| 54 | + "prettier.printWidth": 100, |
| 55 | + "prettier.tabWidth": 2, |
| 56 | + "prettier.singleAttributePerLine": true, |
| 57 | + "prettier.semi": true, |
| 58 | + "prettier.endOfLine": "lf", |
| 59 | + "prettier.experimentalTernaries": true, |
| 60 | + "prettier.htmlWhitespaceSensitivity": "css", |
| 61 | + "prettier.requireConfig": true, |
| 62 | + |
| 63 | + // svelte |
| 64 | + "svelte.enable-ts-plugin": true, |
| 65 | + "svelte.plugin.svelte.format.enable": true, |
| 66 | + |
| 67 | + // typescript shit |
| 68 | + "typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": true, |
| 69 | + "typescript.experimental.updateImportsOnPaste": true, |
| 70 | + "typescript.autoClosingTags": true, |
| 71 | + "typescript.format.semicolons": "insert" |
4 | 72 | } |
0 commit comments