All plugins

DSH / BUNDLE / BUNDLES

dsh-plugin-ignore

v0.1.0YangtzeCoder / dsh-plugin-ignorec0d9869e62

InstallableBundlesBundles & other modulesCommunity · Topic auto-analysis

Overview

dsh-plugin-ignore

让 @ 文件补全忽略工作区 .dshignore 里列出的目录

README / EN

Package documentation

Registry summary

让 @ 文件补全忽略工作区 .dshignore 里列出的目录

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **内置默认排除不会被取反解除。** provider 自己默认排除 `.git`、`node_modules`、`dist`、`build`、`out`、`coverage`、`target`、`.next`、`.nuxt`、 `.turbo`、`.venv`、`__pycache__`、`.pytest_cache`、`.mypy_cache`、`.gradle` 这 15 个目录名,本插件**只做加法、从不删减**,所以 `.dshignore` 里写 `!dist/` 不会让 `dist` 回来。 要放开请改 provider 的配置(profile 的 `cordis.patch.yml` 里给 `file-reference-local` 重写 `excludedDirectories`)——注意那也会让索引重新遍历这些目录。 - 只按工作区根一份规则文件生效,不支持子目录各自的 `.dshignore`。 - 规则变化后递归索引在后台重建,重建完成前由候选过滤兜底(用户看不到差别)。