JSON-Viewer
JSON-Viewer copied to clipboard
Disabling highlighting text beyond the formatted json
Is it possible to disable text highlighting around the formatted json?
When a file has other content than just json, highlighting is bad around the selected json-text.
Hi @Numenorean , @seppo498573908457, in latest version format/compress json does not select the text. Could you please check the latest version and let know your feedback.
Please note:
- Show/refresh dialog still selects the whole document if anything is selected
- JsonViewer also works on the selected text as well for all the operation. e.g. if selected text is json compliant, then it can format/compress the selected portion or it can show tree view only for selected portion.
How to test
- Download binary from build room
https://github.com/kapilratnani/JSON-Viewer/releases/tag/v2.0.2.0
as appropriate e.g. win32 or x64 or ARM64 - Open Notepad++
plugin folder
- Open
plugin folder
, go toPlugins
menu on Notepad++ - Click on
Open Plugins Folder
- Open
- Navigate to
NPPJSONViewer
and rename the existingNPPJSONViewer.dll
for backup. - Copy the downloaded binary (in step # 1) to
NPPJSONViewer
folder. - Run some test
- Once done, restore the backup. To restore,
- Delete the new file (
NPPJSONViewer.dll
) - Rename the old file to
NPPJSONViewer.dll
- Now backup is restored.
- Delete the new file (
Please use latest release binary. https://github.com/kapilratnani/JSON-Viewer/releases/tag/v2.0.4.0