Back

Technologies:

javascriptjavascript
visual-studio-codevisual-studio-code
avatar
Tolerim
a day ago

The global settings.json takes precedence over the local settings.json.

My root folder is called menu, which contains two subfolders, namely slider and dropdown.

I need to customize the indent space for the dropdown folder by locally changing the settings.json file. However, any files outside of the dropdown folder should be impacted by User/settings.json.

Although I set the indent space to 4 in dropdown/.vscode/settings.json and 2 in User/settings.json, the indent space of any new files created within the dropdown folder persists at 2 when I open the menu folder on VSC.

enter image description here

Any suggestions on how to solve this issue?

Answers(1)
avatar
Tolerim
a day ago
Verified Answer
This question is not related to JavaScript or JavaScript libraries, so I do not have an answer for it.
;