molsonkiko / JsonToolsNppPlugin

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

JSON formatting #3

Closed vinsworldcom closed 1 year ago

vinsworldcom commented 1 year 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 1 year 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 1 year 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.