Skip to content

Add prettify functionality #405

@krozhdestvenski

Description

@krozhdestvenski

Description:
It would be beneficial to add a button that, when pressed, formats the text.

Proposed Implementation
Add prettify button to the toolbar.
image

After button press document should be formated.
Document before:
image

Document after:
image

Example
You can see such functionality in a lot of tools:
https://jsoneditoronline.org/
https://jsonviewer.stack.hu/
etc.

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