antfu / vscode-file-nesting-config

Config of File Nesting for VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In vscode 1.85.0 version , explorer does not display any files and directories

BryanAdamss opened this issue · comments

Describe the bug

In the VSCode 1.85.0 version, the explorer does not display any files and directories when "explorer.fileNesting.enabled": true is set.

image

However, when this setting is changed to "explorer.fileNesting.enabled": false, the files and directories are shown.

image

Is there any rule that affects this behavior?

vscode version info

Version: 1.85.0 (system setup)
Commit: af28b32d7e553898b2a91af498b1fb666fdebe0c
Date: 2023-12-06T20:48:09.019Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.18363

Reproduction

In window10 and then download vscode 1.85.0

System Info

System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    Memory: 7.67 GB / 15.74 GB
  Binaries:
    Node: 18.16.0 - ~\AppData\Local\fnm_multishells\16564_1702006014106\node.EXE
    npm: 9.5.1 - ~\AppData\Local\fnm_multishells\16564_1702006014106\npm.CMD
  Browsers:
    Chrome: 120.0.6099.71
    Edge: Spartan (44.18362.449.0)
    Internet Explorer: 11.0.18362.1

Used Package Manager

pnpm

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.

The following errors were encountered in package.json and rush.json: String does not match the pattern of "^([^,*]*\*?[^,*]*)(, ?[^,*]*\*?[^,*]*)*$". As a temporary workaround, it is suggested to remove *.knip.* from them.

- "package.json": "*.knip.*, .browserslist*, ...
- "rush.json": "*.knip.*, .browserslist*, ...
+ "package.json": ".browserslist*, ...
+ "rush.json": ".browserslist*, ...

Reason:Unexpected star in SufTrie key: .knip.

Temporary workaround:
settings.json

"package.json": "*.knip.*, .browserslist*, ..."
"rush.json": "*.knip.*, .browserslist*, ..."
// delete *.knip.*,
"package.json": ".browserslist*, ..."
"rush.json": ".browserslist*, ..."

Reason:Unexpected star in SufTrie key: .knip.

Temporary workaround: settings.json

"package.json": "*.knip.*, .browserslist*, ..."
"rush.json": "*.knip.*, .browserslist*, ..."
// delete *.knip.*,
"package.json": ".browserslist*, ..."
"rush.json": ".browserslist*, ..."

thank u, this works for me

Reason:Unexpected star in SufTrie key: .knip.

Temporary workaround: settings.json

"package.json": "*.knip.*, .browserslist*, ..."
"rush.json": "*.knip.*, .browserslist*, ..."
// delete *.knip.*,
"package.json": ".browserslist*, ..."
"rush.json": ".browserslist*, ..."

It works 👍

Although I have removed this error code, it will automatically be added back when I execute the @command:antfu.file-nesting.manualUpdate command in vscode.

Same Question. It took me a whole morning to find out what went wrong, even if I reinstalled Vscode.
Until I look at the "settings.json" change log, I just realized 'vscode-file-nesting-config' is the culprit.

Although I have removed this error code, it will automatically be added back when I execute the @command:antfu.file-nesting.manualUpdate command in vscode.

Ok, I have already solved this problem. Maybe is my network or ip problem, sorry to bother you

It should already be fixed, it might be some network cache issue. You can manually copy the settings from README to override, disable the auto-update, or wait for a while longer until the cache get updated.