Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up JsonTools to v7.2 #757

Merged
merged 1 commit into from Apr 20, 2024
Merged

Conversation

molsonkiko
Copy link
Contributor

Summary

  • Fixed a crash bug documented in JsonTools issue 60.
  • Fixed some other minor bugs and sources of irritation
  • Added command to check JSON syntax (without opening tree view or reformatting document)

[7.2.0] - 2024-04-19

Added

  1. Check JSON syntax now command.

Changed

  1. Made it so that reloading the error form by pressing Enter would not cause certain message boxes to appear, to eliminate a potential "infinite" loop where the user would hit Enter to close the message box, and that moved focus back to the error form, which then repeated the cycle when they lifted the Enter key.
  2. Automatic validation when auto_validate is true no longer opens the prompt asking if user wants to open the error form (if offer_to_show_lint is true), because that could cause Notepad++ to crash or hang forever (see issue 60).
  3. Made it so that automatic JSON schema validation (that is, any validation not manually invoked by the plugin menu command) no longer causes the caret to move to the location of the first schema validation error.
  4. Automatic validation (including non-schema validation) now refreshes the error form.

Fixed

  1. Minor bug in PPrint remembering comments algorithm implementation that caused some arrays and objects to be compressed when they should have been pretty-printed.
  2. Fix bug where tests could crash under some circumstances due to filesystem weirdness making it impossible to find test files.

@chcg chcg added this to the 1.7.2 milestone Apr 20, 2024
@chcg chcg merged commit 69bf100 into notepad-plus-plus:master Apr 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants