Skip to content

Feature Request: Support for Nested Braces on New Lines in JSON Formatting #495

@Viamo

Description

@Viamo

I would like to propose adding an option for formatting JSON with nested braces on new lines. This feature would significantly enhance readability, especially for complex JSON structures.

Proposed Implementation:

  1. Add a new button on the green toolbar for quick switching between formats. Users could toggle between:

    {
        "key1": "value1",
        "nested": {
            "key2": "value2"
        }
    }

    and

    {
        "key1": "value1",
        "nested":
        {
            "key2": "value2"
        }
    }

    This would allow users to easily move braces to a new line or back, providing fast access for those who need to adjust formatting frequently.

  2. Include it as an option in the settings section, but navigating to settings every time may be inconvenient for users.

This feature would improve the overall user experience by making JSON data more accessible and easier to read. Thank you for considering this request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions