Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explorerer becomes empty when package.json is presented #234437

Open
kc0506 opened this issue Nov 22, 2024 · 1 comment
Open

Explorerer becomes empty when package.json is presented #234437

kc0506 opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-explorer Explorer widget issues

Comments

@kc0506
Copy link

kc0506 commented Nov 22, 2024

Type: Bug

When there is a file named package.json, the whole explorer just becomes empty:
Image
As shown in the terminal on the right side, the directory is not empty, but those files are not displayed.

If I run mv package.json <some other name>, the explorer return to normal.
Image

Renaming it back to package.json, the files disappears again.
Image

VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 23.78GB (6.72GB free)
Process Argv --crash-reporter-id ad512ff0-65b0-4430-b33b-feecc2d05dc6
Screen Reader no
VM 47%
Extensions: none
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31185841
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@kc0506
Copy link
Author

kc0506 commented Nov 23, 2024

I found out that this is caused by the following setting:

"explorer.fileNesting.patterns":{
    "package.json":"sentry.*.config.*",
}

It seems that the file nesting breaks when the pattern contains more than one *.

@lramos15 lramos15 added bug Issue identified by VS Code Team member as probable bug file-explorer Explorer widget issues labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

2 participants