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

Ability to auto collapse #75

Open
justinseesdragons opened this issue Jun 7, 2024 · 3 comments
Open

Ability to auto collapse #75

justinseesdragons opened this issue Jun 7, 2024 · 3 comments

Comments

@justinseesdragons
Copy link

Would like to propose a feature. On JSON documents have a preference setting to always fold nested non root-sub objects on initial load.

like this:
{
a: {... folded big object here...},
b: {... folded big object here...},
.
.
.
}
the same would hold true for json arrays.

This is important because the majority of JSON objects I look at are non-trivial and rather large. It really helps navigation in the document to start in a collapsed state allowing me to drill down as I need to. A collapse all / expand all button would be even better.

@lauriro
Copy link
Member

lauriro commented Jun 7, 2024

  • Collapse all childs with Ctrl(Command) + Click
  • Collapse property also on all sibling items with Alt(Option) + Click

@justinseesdragons
Copy link
Author

Nice! sorry for not RTFM!

@lauriro
Copy link
Member

lauriro commented Jun 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants