vscode调教不完全指北(比如不同项目使用不同插件等)

前言

近日吃饭的家伙(电脑)频繁熄火重启,大抵是不中用了,但换是不可能换的,只能将就着使唤使唤了,众所周知vscode插件装多了电脑是会卡的(bushi),所以就从它入手

卸载不必要插件

随着vscode不停迭代,此前非常实用的一些插件,它已经内置了同样的功能,这个我是在某small red book上看到的比较全(可以搜索:警惕!网上推荐的这些可以弃用的Vscode插件),我使用的插件中有两个上榜并名列前茅,Auto Rename TagAuto Close Tag,相信广大coder对它们并不陌生,一个修改标签时同时帮你修改结束标签,一个添加标签时同时帮你添加结束标签,从下图中可以看出它们曾经也是插件市场的宠儿

忍痛将其卸载后,工作还是要继续的,在settings.json中添加需要的配置,自闭合似乎是默认开启的,此处仅作展示

json 复制代码
{
"editor.linkedEditing": true, // 修改标签时同步修改尾部标签,等同于AutoRenameTag插件

"html.autoClosingTags": true,
"javascript.autoClosingTags": true,
"typescript.autoClosingTags": true
}

不同项目中使用不同插件

调研了下实现这个需求有两种解决方案,一种是通过Profiles(配置文件)修改,有版本要求,看了看某乎似乎是v1.69.x及以上,我当前使用的版本是1.81.1,另一种是通过Workspace(工作区)来设置(与编辑器中通过工作区切换项目不同)

通过Profiles配置

这里就直接贴官网的机翻截图了,我是直接复制的default,当然也可以创建一个全新的,第一次创建Profiles时可能会报错A filesystem provider for the scheme 'userdataprofileexport' is already registered.,重启下vscode再次创建即可,然后选择对应的配置文件,vscode左下角齿轮会显示前两个字母,此时卸载/禁用插件,修改设置文件等不会影响到默认的配置,只在当前配置里生效,如此在不同项目里切换不同的Profiles,就能达到不同项目使用不同的插件的需求

通过Workspace的隐藏文件夹.vscode来配置

在.vscode文件内新建extensions.json

json 复制代码
{
  "recommendations": [
    "插件的id,可以通过右键复制插件的id,格式为:作者.插件名"
  ]
}

或者在插件里右键选择Add to Workspace Recommendations

题外话,antfu的vscode设置

antfu是前端圈的轮子哥(无贬义),他将他的一系列配置都在gayhub上开源,感兴趣可以自行搜索vscode-settings,当然,配置太多,它们分别是什么含义呢?仅settings.json为例,不一定要全盘模仿,可以参考借鉴摸索出符合自己使用习惯的一套配置

json 复制代码
{

// Visuals

"workbench.activityBar.visible": true, // 展示/隐藏左侧菜单栏

"workbench.colorTheme": "Vitesse Dark", // 颜色主题

"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", // 打开vscode时是否打开上次项目

"workbench.tree.expandMode": "singleClick", // 单击选中预览

"workbench.tree.indent": 10, // 文件栏缩进及对齐像素

"editor.fontFamily": "Input Mono, Fira Code, monospace", // 字体类型

"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss06', 'zero'", // 是否启用连字

// Editor

"editor.accessibilitySupport": "off", // 是否启用平滑插入动画

"editor.cursorSmoothCaretAnimation": "on", // 鼠标是否启用平滑插入动画

"editor.find.addExtraSpaceOnTop": false, // 控制 "查找小部件" 是否应在编辑器顶部添加额外的行

"editor.guides.bracketPairs": "active", // 在编辑器中显示匹配的括号对

"editor.inlineSuggest.enabled": true, // 启用内联建议(Inline Suggest),当你输入代码时,编辑器会光标附近显示代码建议

"editor.lineNumbers": "interval", // 显示行号,且仅显示间隔行号

"editor.multiCursorModifier": "ctrlCmd", // 在多光标模式下,按下的修饰键(例如 Ctrl 或 Cmd)

"editor.renderWhitespace": "boundary", // 渲染不可打印字符和空白字符边界

"editor.suggestSelection": "first", // 自动选择第一个建议项

"editor.tabSize": 2, // 设置制符的宽度

"editor.unicodeHighlight.invisibleCharacters": false, // 禁用在编辑器中高亮显示不可见字符(例如换行符、制表符等)

"editor.stickyScroll.enabled": true, // 启用粘性滚动,使光标保持屏幕中央

"editor.hover.sticky": true, // 启用悬停提示的粘性行为,使提示保持打开状态,即使光标已移动。

"editor.codeActionsOnSave": { // 在保存文件时执行的代码操作的设置

"source.fixAll": false, // 禁用自动修复所有问题

"source.fixAll.eslint": true, // 启用保存文件时由 ESLint 自动修复问题

"source.organizeImports": false // 禁用保存文件时自动组织导入

},

"editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?", // 定义词分隔符的字符默认情况下,这些字符用于标记单词的边界

"explorer.confirmDelete": false, // 禁用删除文件或文件夹时的确认提示

"explorer.confirmDragAndDrop": false, // 禁用拖放操作时的确认提示

"window.autoDetectColorScheme": true, // 自动检测操作系统的颜色主题,以应用相应的 VS Code 颜色主题

"window.dialogStyle": "custom", // 使用自定义对话框样式

"window.nativeTabs": true, // 仅适用于 macOS,启用原生标签页

"window.titleBarStyle": "custom", // 使用自定义标题栏样式

"workbench.editor.closeOnFileDelete": true, // 如果在编辑器中打开的文件被删除,则自动关闭该文件

"workbench.editor.highlightModifiedTabs": true, // 突出显示已修改但未保存的选项卡

"workbench.editor.limit.enabled": true, // 启用编辑器选项卡数量限制

"workbench.editor.limit.perEditorGroup": true, // 对每个编辑器组应用编辑器选项卡数量限制

"workbench.editor.limit.value": 5, // 每个编辑器组最多显示的编辑器选项卡数量

"extensions.autoUpdate": "onlyEnabledExtensions", // 仅自动更新已启用的扩展

"extensions.ignoreRecommendations": true, // 忽略扩展推荐

"files.eol": "\n", // 设置文件换行符为 LF(Unix 风格)

"files.insertFinalNewline": true, // 文件保存时自动插入最后行的换行符

"files.simpleDialog.enable": true, // 启用简单文件对话框,用保存等操作

"git.autofetch": true, // 自动获取 Git 仓库的最新信息

"git.confirmSync": false, // 禁用同步 Git 仓库时的确认提示

"git.enableSmartCommit": true, // 启用智能提交功能,使提交信息自动包含修改的文件

"git.untrackedChanges": "separate", // 在 Git 扩展的源代码管理视图中,将未跟踪的更改显示为单独的分组

"terminal.integrated.cursorBlinking": true, // 在集成终端中启用光标闪烁

"terminal.integrated.cursorStyle": "line", // 设置集成终端光标样式为线条型

"terminal.integrated.fontWeight": "300", // 设置集成终中使用的字体的粗细

"terminal.integrated.persistentSessionReviveProcess": "never", // 终端会话关闭后,不自动重新启动进程

"terminal.integrated.tabs.enabled": true, // 启用 VS Code 内置终端标签页

"scm.diffDecorationsGutterWidth": 2, // 设置源代码管理视图中差异装饰栏的宽度为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 建议显示为代码片段

"emmet.triggerExpansionOnTab": false, // 禁用按 Tab 键触发 Emmet 缩写的功能

"errorLens.enabledDiagnosticLevels": [

"warning",

"error"

], // 启用 ErrorLens 插件显示警告和错误信息

"errorLens.excludeBySource": [

"cSpell",

"Grammarly",

"eslint"

], // 在 ErrorLens 显示的问题中排除指定的来源(cSpell、Grammarly、eslint)

// ESLint config: <https://github.com/antfu/eslint-config>

"eslint.codeAction.showDocumentation": {

"enable": true // 启用在编辑器中显示 ESLint 代码操作文档的功能

},

"eslint.quiet": true, // 将 ESLint 执行过程中的所有输出都设置为静默模式

"eslint.validate": [ // 指定应该在哪些文件类型中验证 ESLint

"javascript",

"typescript",

"javascriptreact",

"typescriptreact",

"vue",

"html",

"markdown",

"json",

"jsonc",

"json5"

],

"cSpell.allowCompoundWords": true, // 许使用复合词(Compound Words)进行单词拼写检查

"cSpell.language": "en,en-US", // 指定 cSpell 的单词拼写检查使用的语言

"css.lint.hexColorLength": "ignore", // 忽略对 CSS 中十六进制颜色值长度的检查

"githubIssues.workingIssueFormatScm": "#${issueNumberLabel}", // 指定在源代码管理视图中工作问题的格式

"githubPullRequests.fileListLayout": "tree", // 在 GitHub 拉取请求视图中使用文件列表的树形布局

"gitlens.codeLens.authors.enabled": false, // 禁用 GitLens 插件显示作者信息的功能

"gitlens.codeLens.enabled": false, // 禁用 GitLens 插件显示代码信息的功能

"gitlens.codeLens.recentChange.enabled": false, // 禁用 GitLens 插件显示最近更改作者和时间的功能

"gitlens.menus": { // 自定义 GitLens 插件中的菜单设置

"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 语言文本的功能

"i18n-ally.displayLanguage": "en", // 设置 i18n-ally 插件的显示语言

"i18n-ally.ignoredLocales": [], // 设置在 i18n-ally 中忽略的语言区域

"iconify.annotations": true, // 启用 Iconify 插件的注释功能

"iconify.inplace": true, // 在代码中原地显示 Iconify 图标

"svg.preview.mode": "svg", // 设置 SVG 文件的预览模式为 SVG

// I only use Prettier for manually formatting

"prettier.enable": false, // 禁用 Prettier 插件

"prettier.printWidth": 200, // 设置 Prettier 插件格式化时的行宽限制

"prettier.semi": false, // 设置 Prettier 插件格式化时不使用分号

"prettier.singleQuote": true, // 设置 Prettier 插件格式化时使用单引号

// File Nesting

// this might not be up to date with the repo, please check yourself

// <https://github.com/antfu/vscode-file-nesting-config>

"explorer.fileNesting.enabled": true, // 启用资源管理器中的文件嵌套功能

"explorer.fileNesting.expand": false, // 设置文件嵌套的默认展开/折叠状态

"explorer.fileNesting.patterns": { // 定义文件嵌套的规则

"*.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",

"*.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",

"//": "Last update at 4/29/2023, 2:04:58 PM",

"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, 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, 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.*"

},

}
相关推荐
轻口味2 小时前
命名空间与模块化概述
开发语言·前端·javascript
前端小小王2 小时前
React Hooks
前端·javascript·react.js
迷途小码农零零发2 小时前
react中使用ResizeObserver来观察元素的size变化
前端·javascript·react.js
娃哈哈哈哈呀3 小时前
vue中的css深度选择器v-deep 配合!important
前端·css·vue.js
真滴book理喻5 小时前
Vue(四)
前端·javascript·vue.js
程序员_三木6 小时前
Three.js入门-Raycaster鼠标拾取详解与应用
开发语言·javascript·计算机外设·webgl·three.js
不是鱼7 小时前
构建React基础及理解与Vue的区别
前端·vue.js·react.js
开心工作室_kaic7 小时前
springboot476基于vue篮球联盟管理系统(论文+源码)_kaic
前端·javascript·vue.js
川石教育7 小时前
Vue前端开发-缓存优化
前端·javascript·vue.js·缓存·前端框架·vue·数据缓存
搏博7 小时前
使用Vue创建前后端分离项目的过程(前端部分)
前端·javascript·vue.js