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

Feature request - Refresh on new JSON #13

Closed vinsworldcom closed 1 year ago

vinsworldcom commented 1 year ago

Currently, if I have 2 JSON documents open, and I open the viewer, it will display the tree for the active JSON document. If I switch to the new JSON document, the tree does not auto-refresh. In fact, the only way I can seem to get it to refresh is to close the panel and reopen.

Suggest a way to refresh from the panel:

For example of the latter, see https://github.com/vinsworldcom/nppChangedLines/blob/989edfcf2cbd7706b586a51519f065ae8e242628/ChangedLines.cpp#L97 and trace through the calls (uses SetTimer, KillTimer, WM_TIMER)

vinsworldcom commented 1 year ago

The new refresh button in 3.5.0 does it!