molsonkiko / JsonToolsNppPlugin

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

[Check JSON syntax now] clear (Syntax errors in JSON) pane upon no errors found #80

Open emanueol opened 6 days ago

emanueol commented 6 days ago

Example:

  1. have some json error(s) on the editor
  2. execute option [Check JSON syntax now]
  3. ok: bottom popup "Syntax errors in JSON" shows errors.
  4. fix errors on editor
  5. execute again option [Check JSON syntax now]
  6. nok: bottom popup "Syntax errors in JSON" still showing previous errors.

Would be nice to at least clear "Syntax errors in JSON" pane. Check JSON syntax now  clear (Syntax errors in JSON) pane upon no errors found

and/or add success No errors found (in beautiful green color) :)

molsonkiko commented 6 days ago

Thanks for reporting this issue, @emanueol !

This issue should be addressed by this commit. You can follow steps 5-8 of my instructions for downloading unreleased versions to test the commit. If that commit fixes your issue, you can keep using the new version of JsonTools.dll.