-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
to better group/organise configs, use array [ ]
at root level in settings.json
#200686
Comments
This comment was marked as resolved.
This comment was marked as resolved.
anyhow, i wanted to say that this problem comes often as one of contributing root causes of various issues.
with this proposal, the extension author can provide different groups of the settings, which users can paste in their settings.json & get a tailor made experience.
this proposal can help with above situation in 2 ways:
|
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
summaries/titles:
[ ]
at root level insettings.json
details:
[ ]
at root ofsettings.json
{ }
inside of itsettings.json
filethis solution is the only one so far which:
problem addressed:
for language specific extensions, it is important to note that:
alternates considered:
[{ ... }, { ... }, ... ]
proposed one (for comparison): i.e. use arraylist at root, feed multiple objects to it{ ... }
vscode's current (for comparison) i.e. single object at root (no grouping){ ".." : { ... }, ".." : { ... }, ... }
i.e. use nested json objects (~ toml tables) : Valid settings not recognized in settings.json #199658{"settings": [{ ... }, { ... }, ... ]}
i.e. use root level key which take an array of objects as value:{"TLC1": { ... }, "TLC2": { ... }, "TLC3": { ... }}
i.e. predefined top level children/categories (see first hidden comment below)the proposed one is actually inspired from the "Settings json split editor"
(toggled by workbench setting "Use Split JSON"
workbench.settings.useSplitJSON
)... which shows settings beauutifully like this:
Screenshots:
Footnotes:
The text was updated successfully, but these errors were encountered: