VSCode folder structure
Answer a question

I want to change the folder structure.. if you see in the folder "utils" i have another folder called "mocks" well.. what i want is change the structure to see 1 folder by folder.. something like this

Like the "services" folder which have just a 1 file.. i have the same structure, 1 folder inside another and 1 file but in the structure i see 1 folder in the same line. I don't know if i explained me
Answers
This is a setting: explorer.compactFolders.
More info here: Compact folders in Explorer.
In the File Explorer, we now render single child folders in a compact form. In such a form, single child folders will be compressed in a combined tree element. Useful for Java package structures, for example.
Setting
explorer.compactFolderscontrols this behavior. By default, this setting is turned on.
更多推荐
所有评论(0)