molsonkiko / JsonToolsNppPlugin

A Notepad++ plugin providing tools for JSON like linting, querying, a tree view, and CSV conversion.
Apache License 2.0
93 stars 10 forks source link

JSON formatting #3

Closed vinsworldcom closed 2 years ago

vinsworldcom commented 2 years ago

Love the plugin and all the "extra" features is has over other JSON plugin viewers I've used. My nits are with JSON formatting.

Minimize: Is there a way to add a configuration where if enabled, the JSON minimize feature removes all spaces from the output? Currently, it is reduced to one line, but spaces remain.

Pretty Print: I prefer a different version of indenting and formatting close to the "Google" style of astyle. Is there a way to specify different style / indent options for the pretty print feature?

Cheers.

molsonkiko commented 2 years ago

Hi @vinsworldcom, thanks for letting me know your thoughts! I agree that both of those were good options to have.

All your suggestions have been implemented as of release 3.3.0.

See the json formatting documentation.

vinsworldcom commented 2 years ago

Seeing as though you are very responsive - I'm going to open a few more issues that could be simple "fixes" and maybe a feature request or two. Feel free to push back if they are not inline with your development vision.

Nice Iron Maiden analysis by the way. Saw Anthrax open for Iron Maiden back in January 1991 .. that was my first concert!

Cheers.