Файли
openidea/crates/ide-plugin/tests/fixtures/private-dir
Deng Liuтаdengliu 22fe1702be feat(plugins): dynamic file and folder icons by path (API 1.8) (#3257)
Static [[contributes.fileIcons]] entries match file names only, so a plugin could not tell a Helm chart folder, its templates or a Kustomize overlay from any other YAML file or folder. API 1.8 adds decorations.set-file-icon and the batched set-file-icons (up to 10,000 paths per set, requires project.read): a plugin assigns one of its declared file icons to an exact file or plain-folder path, shown in the project tree and editor tabs after the user's own file type icons. Under engines.openidea = "^1.8" a fileIcons entry may omit patterns, for icons used only this way. Both WIT copies, the SDK (host functions and mock), the plugins README and the bundled components are updated.

Co-authored-by: dengliu <[email protected]>
2026-11-14 07:20:33 +08:00
..

A real SDK component exercising fs.plugin-dir during activation and commands without filesystem/project grants. large-cache writes an 80 MiB cache as ten 8 MiB files, beyond the storage quota while respecting each filesystem write limit. It only writes fake text; open opens it in the editor and process passes its path to an explicitly approved cat.

Rebuild with plugins/build.sh crates/ide-plugin/tests/fixtures/private-dir.