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

Multiple Panels? #4

Closed vinsworldcom closed 1 year ago

vinsworldcom commented 1 year ago

Clicking on the "Open JSON tree viewer" menu option keeps opening new JSON Viewer panels - is that supposed to happen? I would expect only a single instance and repeated clicking on the menu item to toggle it open / closed (shown / hidden) as most other Notepad++ docking panels operate.

Is this by design? Is there a way to configure it to behave more like a toggle?

Cheers.

molsonkiko commented 1 year ago

Hi @vinsworldcom , thanks for reminding me to fix this! It was definitely a bug, and it's now fixed.

Hitting Ctrl+alt+shift+j or the menu command should close the tree view if it's already open as of release 3.3.0.