Skip to content

Instantly share code, notes, and snippets.

@Innei
Last active June 21, 2024 10:04
Show Gist options
  • Save Innei/7f3fc662190c5689e2e30fb7e2bdd3e7 to your computer and use it in GitHub Desktop.
Save Innei/7f3fc662190c5689e2e30fb7e2bdd3e7 to your computer and use it in GitHub Desktop.
vscode
{
"editor.fontSize": 14,
"editor.fontFamily": "\"OperatorMonoSSmLig Nerd Font\",\"Cascadia Code PL\",\"FantasqueSansMono Nerd Font\",\"operator mono\",\"Fira code Retina\",\"Fira code\",\"Consolas\", Monaco, \"Hannotate SC\",-apple-system",
"editor.formatOnType": true,
"editor.fontWeight": "bold",
"workbench.iconTheme": "material-icon-theme",
"files.autoGuessEncoding": false,
"editor.parameterHints.enabled": true,
"typescript.tsserver.maxTsServerMemory": 1024,
"window.nativeTabs": true,
"workbench.layoutControl.enabled": true,
"window.customTitleBarVisibility": "never",
// "window.titleBarStyle": "custom",
"i18n-ally.translate.openai.apiKey": "sk-ZhPxfqfwMd8z5WW5EbC42dBdB3Fb433f92173c1f52A33d11",
"i18n-ally.translate.openai.apiRoot": "https://burn.hair",
"i18n-ally.translate.engines": [
// "google"
"openai"
],
"remote.SSH.useLocalServer": false,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"terminal.external.osxExec": "iTerm.app",
"editor.cursorBlinking": "smooth",
"git.enableSmartCommit": true,
"editor.fontLigatures": true,
// "editor.tabCompletion": "onlySnippets",
"leetcode.endpoint": "leetcode-cn",
"git.showPushSuccessNotification": true,
"gitlens.blame.ignoreWhitespace": true,
"editor.smoothScrolling": true,
"[markdown]": {
"editor.formatOnSave": false,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.allowCompoundWords": true,
"explorer.confirmDragAndDrop": false,
"files.associations": {
"*.ejs": "html",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.css": "css"
},
"leetcode.hint.configWebviewMarkdown": false,
"editor.renderControlCharacters": true,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"git.autofetch": true,
"editor.formatOnSave": true,
"todo-tree.tree.showCountsInTree": true,
"editor.semanticHighlighting.enabled": true,
// "explorer.autoReveal": false,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.endOfLine": "lf",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.tabSize": 2,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.referencesCodeLens.enabled": true,
"material-icon-theme.activeIconPack": "nest",
"cSpell.userWords": [
"Innei",
"unavaliable",
"Unprocessable"
],
"tailwindCSS.includeLanguages": {
"typescriptreact": "html"
},
"terminal.explorerKind": "external",
"emmet.includeLanguages": {
"postcss": "css",
"wxml": "html"
},
"vim.leader": " ",
"vim.vimrc.enable": true,
"vim.vimrc.path": "~/.config/nvim/viml/mapping.vim",
"vim.useSystemClipboard": false,
// "vim.enableNeovim": true,
// "vim.neovimPath": "/usr/local/bin/nvim",
"vim.smartRelativeLine": true,
"vim.startInInsertMode": false,
// https://stackoverflow.com/questions/50888475/code-folds-are-automatically-opened-when-cursor-moves-over-them-in-vs-code-vim
// "vim.foldfix": true,
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"j"
],
"after": [
"<esc>"
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"g",
"r"
],
"after": [],
"commands": [
{
"command": "editor.action.goToReferences",
"args": []
}
]
},
{
"before": [
"leader",
"s",
"w"
],
"commands": [
"extension.toggleBool"
]
},
{
"before": [
"leader",
"w"
],
"commands": [
"workbench.action.files.saveWithoutFormatting"
]
},
{
"before": [
"z",
"c"
],
"commands": [
"editor.foldAll"
]
},
{
"before": [
"z",
"C"
],
"commands": [
"editor.unfoldAll"
]
},
{
"before": [
"<leader>",
"b",
"b"
],
// open previous tab
"commands": [
"workbench.action.previousEditor"
]
},
{
"before": [
"[",
"b"
],
"commands": [
"workbench.action.previousEditorInGroup"
]
},
{
"before": [
"]",
"b"
],
"commands": [
"workbench.action.nextEditorInGroup"
]
},
{
"before": [
"]",
"e"
],
"commands": [
// jump to next error diagnostic
{
"command": "editor.action.marker.next",
"args": "Error"
}
],
},
{
"before": [
"[",
"e"
],
"commands": [
// jump to next error diagnostic
{
"command": "editor.action.marker.prev",
"args": "Error"
}
],
},
{
"before": [
"]",
"d"
],
"commands": [
// jump to next diagnostic
{
"command": "editor.action.marker.next",
}
],
},
{
"before": [
"[",
"d"
],
"commands": [
// jump to next diagnostic
{
"command": "editor.action.marker.prev",
}
],
},
{
"before": [
"]",
"w"
],
"commands": [
// jump to next warn diagnostic
{
"command": "editor.action.marker.next",
"args": "Warn"
}
],
},
{
"before": [
"[",
"w"
],
"commands": [
// jump to next warn diagnostic
{
"command": "editor.action.marker.prev",
"args": "Warn"
}
],
},
],
"vim.insertModeKeyBindingsNonRecursive": [],
"css.validate": false,
"vim.easymotion": true,
"vim.camelCaseMotion.enable": true,
"vim.handleKeys": {
"<C-c>": false,
"<C-v>": false,
"<C-d>": false
},
"[postcss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"settingsSync.ignoredSettings": [
"vim.vimrc.path"
],
"git.rebaseWhenSync": true,
"security.workspace.trust.enabled": false,
"editor.inlineSuggest.enabled": true,
"debug.javascript.autoAttachFilter": "disabled",
"i18n-ally.displayLanguage": "zh-CN",
// add v.1.66
"editor.guides.highlightActiveIndentation": "always",
"editor.guides.bracketPairsHorizontal": "active",
"editor.suggest.preview": true,
"material-icon-theme.folders.color": "#42a5f5",
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[dockerfile]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"eslint.format.enable": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue"
],
"redhat.telemetry.enabled": false,
"git.confirmSync": false,
"windicss.enableAttrUtilityCompletion": false,
"editor.inlayHints.enabled": "offUnlessPressed",
"windicss.enableAttrVariantCompletion": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"license.author": "Innei",
"editor.cursorStyle": "line-thin",
"[dockercompose]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.linkedEditing": true,
"explorer.confirmDelete": false,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": true,
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "literals",
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"editor.inlayHints.fontSize": 12,
"editor.foldingImportsByDefault": false,
"editor.cursorSurroundingLines": 8,
"vim.sneakUseIgnorecaseAndSmartcase": true,
"vim.sneak": true,
"vim.sneakReplacesF": true,
"editor.cursorSmoothCaretAnimation": "on",
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"window.commandCenter": false,
"git.alwaysSignOff": true,
"git.autoStash": true,
"git.postCommitCommand": "push",
"explorer.fileNesting.patterns": {
"//": "Last update at 6/15/2023, 10:29:27 AM",
"*.asax": "$(capture).*.cs, $(capture).*.vb",
"*.ascx": "$(capture).*.cs, $(capture).*.vb",
"*.ashx": "$(capture).*.cs, $(capture).*.vb",
"*.aspx": "$(capture).*.cs, $(capture).*.vb",
"*.bloc.dart": "$(capture).event.dart, $(capture).state.dart",
"*.c": "$(capture).h",
"*.cc": "$(capture).hpp, $(capture).h, $(capture).hxx",
"*.cjs": "$(capture).cjs.map, $(capture).*.cjs, $(capture)_*.cjs",
"*.component.ts": "$(capture).component.html, $(capture).component.spec.ts, $(capture).component.css, $(capture).component.scss, $(capture).component.sass, $(capture).component.less",
"*.cpp": "$(capture).hpp, $(capture).h, $(capture).hxx",
"*.cs": "$(capture).*.cs",
"*.cshtml": "$(capture).cshtml.cs",
"*.csproj": "*.config, *proj.user, appsettings.*, bundleconfig.json",
"*.css": "$(capture).css.map, $(capture).*.css",
"*.cxx": "$(capture).hpp, $(capture).h, $(capture).hxx",
"*.dart": "$(capture).freezed.dart, $(capture).g.dart",
"*.ex": "$(capture).html.eex, $(capture).html.heex, $(capture).html.leex",
"*.go": "$(capture)_test.go",
"*.java": "$(capture).class",
"*.js": "$(capture).js.map, $(capture).*.js, $(capture)_*.js",
"*.jsx": "$(capture).js, $(capture).*.jsx, $(capture)_*.js, $(capture)_*.jsx",
"*.master": "$(capture).*.cs, $(capture).*.vb",
"*.mjs": "$(capture).mjs.map, $(capture).*.mjs, $(capture)_*.mjs",
"*.module.ts": "$(capture).resolver.ts, $(capture).controller.ts, $(capture).service.ts",
"*.mts": "$(capture).mts.map, $(capture).*.mts, $(capture)_*.mts",
"*.pubxml": "$(capture).pubxml.user",
"*.resx": "$(capture).*.resx, $(capture).designer.cs, $(capture).designer.vb",
"*.tex": "$(capture).acn, $(capture).acr, $(capture).alg, $(capture).aux, $(capture).bbl, $(capture).blg, $(capture).fdb_latexmk, $(capture).fls, $(capture).glg, $(capture).glo, $(capture).gls, $(capture).idx, $(capture).ind, $(capture).ist, $(capture).lof, $(capture).log, $(capture).lot, $(capture).out, $(capture).pdf, $(capture).synctex.gz, $(capture).toc, $(capture).xdv",
"*.ts": "$(capture).js, $(capture).d.ts.map, $(capture).*.ts, $(capture)_*.js, $(capture)_*.ts",
"*.tsx": "$(capture).ts, $(capture).*.tsx, $(capture)_*.ts, $(capture)_*.tsx",
"*.vbproj": "*.config, *proj.user, appsettings.*, bundleconfig.json",
"*.vue": "$(capture).*.ts, $(capture).*.js, $(capture).story.vue",
"*.xaml": "$(capture).xaml.cs",
"+layout.svelte": "+layout.ts,+layout.ts,+layout.js,+layout.server.ts,+layout.server.js,+layout.gql",
"+page.svelte": "+page.server.ts,+page.server.js,+page.ts,+page.js,+page.gql",
".clang-tidy": ".clang-format, .clangd, compile_commands.json",
".env": "*.env, .env.*, .envrc, env.d.ts",
".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*",
".project": ".classpath",
"BUILD.bazel": "*.bzl, *.bazel, *.bazelrc, bazel.rc, .bazelignore, .bazelproject, WORKSPACE",
"CMakeLists.txt": "*.cmake, *.cmake.in, .cmake-format.yaml, CMakePresets.json",
"I*.cs": "$(capture).cs",
"artisan": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, server.php, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, webpack.mix.js, windi.config.*",
"astro.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"cargo.toml": ".clippy.toml, .rustfmt.toml, cargo.lock, clippy.toml, cross.toml, rust-toolchain.toml, rustfmt.toml",
"composer.json": ".php*.cache, composer.lock, phpunit.xml*, psalm*.xml",
"default.nix": "shell.nix",
"deno.json*": "*.env, .env.*, .envrc, api-extractor.json, deno.lock, env.d.ts, import-map.json, import_map.json, jsconfig.*, tsconfig.*, tsdoc.*",
"dockerfile": ".dockerignore, docker-compose.*, dockerfile*",
"flake.nix": "flake.lock",
"gatsby-config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, gatsby-browser.*, gatsby-node.*, gatsby-ssr.*, gatsby-transformer.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"gemfile": ".ruby-version, gemfile.lock",
"go.mod": ".air*, go.sum",
"go.work": "go.work.sum",
"mix.exs": ".credo.exs, .dialyzer_ignore.exs, .formatter.exs, .iex.exs, .tool-versions, mix.lock",
"next.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, next-env.d.ts, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"nuxt.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"package.json": ".browserslist*, .circleci*, .commitlint*, .cz-config.js, .czrc, .dlint.json, .dprint.json, .editorconfig, .eslint*, .firebase*, .flowconfig, .github*, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .lintstagedrc*, .markdownlint*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .simple-git-hooks*, .stackblitz*, .styleci*, .stylelint*, .tazerc*, .textlint*, .tool-versions, .travis*, .versionrc*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, Procfile, apollo.config.*, appveyor*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, dangerfile*, dlint.json, dprint.json, electron-builder.*, eslint*, firebase.json, grunt*, gulp*, jenkins*, lerna*, lint-staged*, nest-cli.*, netlify*, nodemon*, npm-shrinkwrap.json, nx.*, package-lock.json, package.nls*.json, phpcs.xml, pm2.*, pnpm*, prettier*, pullapprove*, pyrightconfig.json, release-tasks.sh, release.config.*, renovate*, rollup.config.*, rspack*, simple-git-hooks*, stylelint*, tslint*, tsup.config.*, turbo*, typedoc*, unlighthouse*, vercel*, vetur.config.*, webpack*, workspace.json, xo.config.*, yarn*",
"pubspec.yaml": ".metadata, .packages, all_lint_rules.yaml, analysis_options.yaml, build.yaml, pubspec.lock, pubspec_overrides.yaml",
"pyproject.toml": ".pdm.toml, pdm.lock, pyproject.toml",
"quasar.conf.js": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, quasar.extensions.json, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"readme*": "authors, backers*, changelog*, citation*, code_of_conduct*, codeowners, contributing*, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors*",
"remix.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, remix.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"rush.json": ".browserslist*, .circleci*, .commitlint*, .cz-config.js, .czrc, .dlint.json, .dprint.json, .editorconfig, .eslint*, .firebase*, .flowconfig, .github*, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .lintstagedrc*, .markdownlint*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .simple-git-hooks*, .stackblitz*, .styleci*, .stylelint*, .tazerc*, .textlint*, .tool-versions, .travis*, .versionrc*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, Procfile, apollo.config.*, appveyor*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, dangerfile*, dlint.json, dprint.json, electron-builder.*, eslint*, firebase.json, grunt*, gulp*, jenkins*, lerna*, lint-staged*, nest-cli.*, netlify*, nodemon*, npm-shrinkwrap.json, nx.*, package-lock.json, package.nls*.json, phpcs.xml, pm2.*, pnpm*, prettier*, pullapprove*, pyrightconfig.json, release-tasks.sh, release.config.*, renovate*, rollup.config.*, rspack*, simple-git-hooks*, stylelint*, tslint*, tsup.config.*, turbo*, typedoc*, unlighthouse*, vercel*, vetur.config.*, webpack*, workspace.json, xo.config.*, yarn*",
"shims.d.ts": "*.d.ts",
"svelte.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, houdini.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, mdsvex.config.js, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vite.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"vite.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
"vue.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, rspack.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, uno.config.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*"
},
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.quickSuggestionsDelay": 0,
"terminal.integrated.defaultProfile.osx": "zsh",
"leetcode.workspaceFolder": "/tmp/leetcode",
"leetcode.defaultLanguage": "typescript",
"editor.stickyScroll.enabled": true,
"editor.suggest.matchOnWordStartOnly": true,
"editor.minimap.renderCharacters": false,
"editor.renderWhitespace": "trailing",
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
"explorer.autoRevealExclude": {
"**/node_modules": true,
},
"githubPullRequests.pullBranch": "never",
"editor.suggest.selectionMode": "always",
"playwright.reuseBrowser": true,
"githubIssues.queries": [
{
"label": "My Issues",
"query": "default"
},
{
"label": "Created Issues",
"query": "author:${user} state:open repo:${owner}/${repository} sort:created-desc"
},
{
"label": "Recent Issues",
"query": "state:open repo:${owner}/${repository} sort:updated-desc"
}
],
"eslint.codeAction.showDocumentation": {
"enable": true
},
"search.exclude": {
"**/.git": true,
"**/.nuxt": true,
"**/.output": true,
"**/.pnpm": true,
"**/.yarn": true,
"**/bower_components": true,
"**/dist/**": true,
"**/logs": true,
"**/node_modules": true,
"**/out/**": true,
"**/tmp": true,
},
"remote.SSH.remotePlatform": {
"arch-lab-public": "linux",
"10.0.0.128": "macOS",
"10.0.0.88": "macOS",
"10.0.0.82": "windows",
"sandbox.q9wmxk.csb": "linux",
"sandbox.vrxrzy.csb": "linux",
"sandbox.vk4t4r.csb": "linux",
"sandbox.52v7sm.csb": "linux",
"sandbox.24qxzh.csb": "linux"
},
"search.useGlobalIgnoreFiles": true,
"license.extension": "",
"workbench.colorTheme": "GitHub Dark",
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"scminput": false
},
"workbench.activityBar.location": "bottom",
"[mdx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.preferences.preferTypeOnlyAutoImports": true,
"workbench.tree.enableStickyScroll": true,
"workbench.tree.stickyScrollMaxItemCount": 5,
"editor.accessibilitySupport": "off",
"editor.stickyScroll.defaultModel": "outlineModel",
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[dotenv]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
// v1.88.1
"git.decorations.enabled": true,
// Translate
"commentTranslate.hover.string": true,
"commentTranslate.hover.enabled": true,
"commentTranslate.hover.variable": true,
"commentTranslate.multiLineMerge": true,
"commentTranslate.hover.content": false,
"commentTranslate.maxTranslationLength": 1000,
"commentTranslate.targetLanguage": "zh-CN",
"commentTranslate.source": "Kaiqun.tencent-cloud-translate-tencentCloud",
// "timeline.pageOnScroll": true,
"extensions.ignoreRecommendations": true,
"workbench.editor.customLabels.enabled": true,
"workbench.editor.customLabels.patterns": {
// Component
"**/components/**/*.tsx": "${filename} - ${dirname}",
"**/app/*.*": "index/${filename}.${extname}",
"**/app/*/**/*.*": "${dirname}/${filename}.${extname}",
"**/pages/*.*": "index/${filename}.${extname}",
"**/pages/*/**/*.*": "${dirname}/${filename}.${extname}",
"**/app/**/page.{tsx,ts,jsx,js,mdx}": "${dirname} [page]",
"**/app/**/index.{tsx,ts,jsx,js}": "${dirname} [index]",
"**/app/**/layout.{tsx,ts,jsx,js}": "${dirname} [layout]",
"**/src/**": "${dirname}/${filename}",
},
// https://xlog.app/post/hyoban/why-eslint
"eslint.codeActionsOnSave.rules": [
"!prefer-const",
"!unused-imports/no-unused-imports",
"!tailwindcss/classnames-order",
"*"
],
"eslint.rules.customizations": [
{
"rule": "prefer-const",
"severity": "off"
},
{
"rule": "unused-imports/no-unused-imports",
"severity": "off"
},
{
"rule": "simple-import-sort/*",
"severity": "off"
},
],
"prisma.showPrismaDataPlatformNotification": false,
"github.copilot.editor.enableAutoCompletions": true,
"security.promptForLocalFileProtocolHandling": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment