kswope
October 2, 2022, 1:59pm
1
Annoyed by seeing all those rescript generated files in your explorer?
Put something like this in your settings.json
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"*.res": "${basename}.bs.js, ${basename}.mjs"
},
Which turns rescript files into virtual folders
9 Likes
YKW
October 2, 2022, 6:24pm
2
This feature is nice QOL. Would love to see a “collapse all” for file nesting though. I always end up maneuvering my codebase and un-nesting everything lol
kswope
October 5, 2022, 2:52am
3
> Collapse Folders in Explorer
YKW
October 5, 2022, 7:15am
4
Doesn’t work for nested files, and I don’t want my folders collapsed XD