forked from antfu/vscode-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7e0994e
Showing
4 changed files
with
296 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"recommendations": [ | ||
// my extensions, ofc :P | ||
"antfu.browse-lite", | ||
"antfu.iconify", | ||
"antfu.slidev", | ||
"antfu.unocss", | ||
"antfu.vite", | ||
"antfu.where-am-i", | ||
"lokalise.i18n-ally", | ||
|
||
// themes & icons | ||
"antfu.icons-carbon", | ||
"antfu.theme-vitesse", | ||
"file-icons.file-icons", | ||
"sainnhe.gruvbox-material", | ||
|
||
// life savers! | ||
"dbaeumer.vscode-eslint", | ||
"johnsoncodehk.volar", | ||
"GitHub.copilot", | ||
"usernamehw.errorlens", | ||
"streetsidesoftware.code-spell-checker", | ||
|
||
// up to you | ||
"amodio.tsl-problem-matcher", | ||
"eamodio.gitlens", | ||
"EditorConfig.EditorConfig", | ||
"GitHub.vscode-pull-request-github", | ||
"mpontus.tab-cycle", | ||
"naumovs.color-highlight", | ||
"richie5um2.vscode-sort-json", | ||
"unional.vscode-sort-package-json", | ||
"voorjaar.windicss-intellisense", | ||
"WakaTime.vscode-wakatime", | ||
"znck.grammarly" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,213 @@ | ||
{ | ||
"editor.accessibilitySupport": "off", | ||
"editor.cursorSmoothCaretAnimation": true, | ||
"editor.find.addExtraSpaceOnTop": false, | ||
"editor.fontFamily": "Input Mono, Fira Code, monospace", | ||
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss06', 'zero'", | ||
"editor.fontSize": 13.5, | ||
"editor.glyphMargin": true, | ||
"editor.guides.bracketPairs": "active", | ||
"editor.inlineSuggest.enabled": true, | ||
"editor.lineNumbers": "interval", | ||
"editor.multiCursorModifier": "ctrlCmd", | ||
"editor.renderWhitespace": "boundary", | ||
"editor.suggestSelection": "first", | ||
"editor.tabSize": 2, | ||
"editor.unicodeHighlight.invisibleCharacters": false, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": false, | ||
"source.fixAll.eslint": true, // this allows ESLint to auto fix on save | ||
"source.organizeImports": false | ||
}, | ||
"explorer.confirmDelete": false, | ||
"explorer.confirmDragAndDrop": false, | ||
"window.autoDetectColorScheme": true, | ||
"window.dialogStyle": "custom", | ||
"window.nativeTabs": true, // this is great, macOS only | ||
"window.titleBarStyle": "custom", | ||
"workbench.activityBar.visible": true, | ||
"workbench.colorTheme": "Vitesse Dark", | ||
"workbench.editor.closeOnFileDelete": true, | ||
"workbench.editor.highlightModifiedTabs": true, | ||
"workbench.editor.tabCloseButton": "left", | ||
"workbench.fontAliasing": "antialiased", | ||
"workbench.iconTheme": "file-icons", | ||
"workbench.list.smoothScrolling": true, | ||
"workbench.preferredDarkColorTheme": "Vitesse Dark", | ||
"workbench.preferredLightColorTheme": "Vitesse Light", | ||
"workbench.productIconTheme": "icons-carbon", | ||
"workbench.sideBar.location": "right", | ||
"workbench.startupEditor": "newUntitledFile", | ||
"workbench.tree.expandMode": "singleClick", | ||
"workbench.tree.indent": 10, | ||
"extensions.autoUpdate": "onlyEnabledExtensions", | ||
"extensions.ignoreRecommendations": true, | ||
"files.eol": "\n", | ||
"files.insertFinalNewline": true, | ||
"files.simpleDialog.enable": true, | ||
"git.autofetch": true, | ||
"git.confirmSync": false, | ||
"git.enableSmartCommit": true, | ||
"git.untrackedChanges": "separate", | ||
"terminal.integrated.cursorBlinking": true, | ||
"terminal.integrated.cursorStyle": "line", | ||
"terminal.integrated.fontWeight": "300", | ||
"terminal.integrated.persistentSessionReviveProcess": "never", | ||
"terminal.integrated.tabs.enabled": true, | ||
"scm.diffDecorationsGutterWidth": 2, | ||
"debug.onTaskErrors": "debugAnyway", | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"search.exclude": { | ||
"**/.git": true, | ||
"**/.github": true, | ||
"**/.nuxt": true, | ||
"**/.output": true, | ||
"**/.pnpm": true, | ||
"**/.vscode": true, | ||
"**/.yarn": true, | ||
"**/bower_components": true, | ||
"**/dist/**": true, | ||
"**/logs": true, | ||
"**/node_modules": true, | ||
"**/out/**": true, | ||
"**/package-lock.json": true, | ||
"**/pnpm-lock.yaml": true, | ||
"**/tmp": true, | ||
"**/yarn.lock": true | ||
}, | ||
|
||
// Extension configs | ||
"emmet.showSuggestionsAsSnippets": true, | ||
"emmet.triggerExpansionOnTab": false, | ||
"errorLens.enabledDiagnosticLevels": [ | ||
"warning", | ||
"error" | ||
], | ||
"errorLens.excludeBySource": [ | ||
"cSpell", | ||
"Grammarly", | ||
"eslint" | ||
], | ||
// ESLint config: https://github.com/antfu/eslint-config | ||
"eslint.codeAction.showDocumentation": { | ||
"enable": true | ||
}, | ||
"eslint.quiet": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"typescript", | ||
"javascriptreact", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"json5" | ||
], | ||
"github.copilot.enable": { | ||
"*": true, | ||
"markdown": true, | ||
"plaintext": false, | ||
"yaml": false | ||
}, | ||
"cSpell.allowCompoundWords": true, | ||
"cSpell.language": "en,en-US", | ||
"css.lint.hexColorLength": "ignore", | ||
"githubIssues.workingIssueFormatScm": "#${issueNumberLabel}", | ||
"githubPullRequests.fileListLayout": "tree", | ||
"gitlens.codeLens.authors.enabled": false, | ||
"gitlens.codeLens.enabled": false, | ||
"gitlens.codeLens.recentChange.enabled": false, | ||
"gitlens.menus": { | ||
"editor": { | ||
"blame": false, | ||
"clipboard": true, | ||
"compare": true, | ||
"history": false, | ||
"remote": false | ||
}, | ||
"editorGroup": { | ||
"blame": true, | ||
"compare": false | ||
}, | ||
"editorTab": { | ||
"clipboard": true, | ||
"compare": true, | ||
"history": true, | ||
"remote": true | ||
}, | ||
"explorer": { | ||
"clipboard": true, | ||
"compare": true, | ||
"history": true, | ||
"remote": true | ||
}, | ||
"scm": { | ||
"authors": true | ||
}, | ||
"scmGroup": { | ||
"compare": true, | ||
"openClose": true, | ||
"stash": true | ||
}, | ||
"scmGroupInline": { | ||
"stash": true | ||
}, | ||
"scmItem": { | ||
"clipboard": true, | ||
"compare": true, | ||
"history": true, | ||
"remote": false, | ||
"stash": true | ||
} | ||
}, | ||
"i18n-ally.autoDetection": false, | ||
"i18n-ally.displayLanguage": "en", | ||
"i18n-ally.ignoredLocales": [], | ||
"iconify.annotations": true, | ||
"iconify.inplace": true, | ||
"svg.preview.mode": "svg", | ||
"volar.autoCompleteRefs": false, | ||
"volar.codeLens.pugTools": false, | ||
"volar.codeLens.scriptSetupTools": true, | ||
"volar.completion.preferredTagNameCase": "pascal", | ||
"volar.showWelcomePage": false, | ||
"volar.takeOverMode.enabled": true, | ||
"windicss.enableCodeFolding": false, | ||
"prettier.enable": false, // I only use Prettier for manually formatting | ||
"prettier.printWidth": 200, | ||
"prettier.semi": false, | ||
"prettier.singleQuote": true, | ||
|
||
// File Nesting | ||
// updated 2022-03-08 03:19 | ||
// https://github.com/antfu/vscode-file-nesting-config | ||
"explorer.experimental.fileNesting.enabled": true, | ||
"explorer.experimental.fileNesting.expand": false, | ||
"explorer.experimental.fileNesting.patterns": { | ||
"*.js": "$(capture).js.map, $(capture).min.js, $(capture).d.ts", | ||
"*.jsx": "$(capture).js", | ||
"*.ts": "$(capture).js, $(capture).*.ts", | ||
"*.tsx": "$(capture).ts", | ||
".env": "*.env, .env*, env.d.ts", | ||
".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*", | ||
"cargo.toml": "cargo.lock, rust-toolchain.toml, rustfmt.toml", | ||
"default.nix": "shell.nix", | ||
"dockerfile": ".dockerignore, dockerfile*", | ||
"flake.nix": "flake.lock", | ||
"gemfile": ".ruby-version, gemfile.lock", | ||
"go.mod": ".air*, go.sum", | ||
"index.d.ts": "*.d.ts", | ||
"next.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, next-env.d.ts, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", | ||
"nuxt.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", | ||
"package.json": ".browserslist*, .circleci*, .codecov, .commitlint*, .editorconfig, .eslint*, .flowconfig, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .markdownlint*, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .stylelint*, .tazerc*, .textlint*, .travis*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, api-extractor.json, appveyor*, ava.config.*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, cypress.json, dangerfile*, dprint.json, grunt*, gulp*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, lint-staged*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, renovate*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint*, tsup.config.*, turbo*, typedoc*, vercel*, vetur.config.*, vitest.config.*, webpack.config.*, workspace.json, xo.config.*, yarn*", | ||
"readme.*": "authors, backers.md, changelog*, citation*, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md", | ||
"remix.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, remix.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", | ||
"rush.json": ".browserslist*, .circleci*, .codecov, .commitlint*, .editorconfig, .eslint*, .flowconfig, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .markdownlint*, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .stylelint*, .tazerc*, .textlint*, .travis*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, api-extractor.json, appveyor*, ava.config.*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, cypress.json, dangerfile*, dprint.json, grunt*, gulp*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, lint-staged*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, renovate*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint*, tsup.config.*, turbo*, typedoc*, vercel*, vetur.config.*, vitest.config.*, webpack.config.*, workspace.json, xo.config.*, yarn*", | ||
"shims.d.ts": "*.d.ts", | ||
"svelte.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", | ||
"vite.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, index.html, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*", | ||
"vue.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env*, .htmlnanorc*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, cssnano.config.*, cypress.json, env.d.ts, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022-PRESENT Anthony Fu | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<samp><b>Anthony's VS Code Setttings</b></samp> | ||
|
||
[`.vscode/settings.json`](./.vscode/settings.json)<br> | ||
[`.vscode/extensions.json`](./.vscode/extensions.json) | ||
|
||
|
||
<br> | ||
<br> | ||
<p align="center"><samp>Preview</samp></p> | ||
|
||
<p align="center"> | ||
<img src="https://user-images.githubusercontent.com/11247099/110247185-ed26b380-7fa5-11eb-8fce-6c224bb6ef26.png"> | ||
<img src="https://user-images.githubusercontent.com/11247099/110247187-f1eb6780-7fa5-11eb-9258-620309e20961.png"> | ||
<sub><samp> Theme | <a href="https://github.com/antfu/vscode-theme-vitesse">Vitesse Theme</a><br> | ||
Font | <a href="http://input.fontbureau.com/">Input Mono</a><br> | ||
File Icons | <a href="https://marketplace.visualstudio.com/items?itemName=file-icons.file-icons">File Icons</a><br> | ||
Product Icons | <a href="https://github.com/antfu/vscode-icons-carbon">Carbon</a> </samp></sub> | ||
</p> | ||
|
||
<br> | ||
|
||
## LICENSE | ||
|
||
MIT |