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

When having two panels (views), it pretty-prints the json on the left and not the right regardless of the focus #27

Closed urheil closed 1 year ago

urheil commented 1 year ago

Hi,

Without "other views" opened, when having a json open, i go Move Document -> Move to Other View

Now i have to "panels" or "views", one on the left and one in the right. When focus on the right one, I do: Plugins/JsonTools/Pretty-print...

It doesn't work.

But if in that moment i have another json opened in the left panel, it pretty-print the one in the left, always.

molsonkiko commented 1 year ago

Hi @urheil , thanks for raising this issue. I've been aware of it for some time, and I've basically coped by not using JsonTools when multiple views or instances are open (yes, the same problem happens with multi-instance). Obviously this is much less than ideal.

I'll see if I can figure out a fix for it.

molsonkiko commented 1 year ago

Hi @urheil , I think I've fixed the problem in the newest release.

urheil commented 1 year ago

thanks!