*.knip.* causing VSCode file explorer does not display files
level7in opened this issue · comments
Qin commented
Describe the bug
*.knip.*
causing the VSCode Explorer does not display files.
String does not match the pattern of "^([^,*]*?[^,*])(, ?[^,*]*?[^,*])*$".
Each key pattern may contain a single * character which will match any string.
Delete *.knip.*
and it will return to normal.
Reproduction
Open the folder containing package.json using VSCode.
System Info
Visual Studio Code
Version: 1.85.0 (Universal)
Commit: af28b32d7e553898b2a91af498b1fb666fdebe0c
Date: 2023-12-06T18:18:04.614Z (1 day ago)
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin x64 22.6.0
System:
OS: macOS 13.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 282.61 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - ~/Library/Caches/fnm_multishells/42942_1702000371659/bin/node
npm: 10.2.3 - ~/Library/Caches/fnm_multishells/42942_1702000371659/bin/npm
pnpm: 8.5.0 - ~/Library/pnpm/pnpm
bun: 1.0.14 - /usr/local/bin/bun
Browsers:
Chrome: 120.0.6099.62
Safari: 17.1
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
hyrious commented
To make this issue more likely to be found, I'm adding these error messages:
When you open a git repository:
The file is not displayed in the text editor because it is a directory.
When you open a random folder:
Unexpected star in SufTrie key: *.knip.*