Skip to content

[BUG] Refresh Errors doesn't seem to do anything #104

@pryrt

Description

@pryrt

When I had errors in my JSON (for example, the error I make most often is having a Comma after last key-value pair of object, since Perl allows commas after the last item in a hash), after I fix them, I'd like to refresh the error list.

At first, I thought this would be a feature request to add a "refresh errors" button, but while writing it up, I tried the right-click context menu, and found Refresh with current errors

Steps to Reproduce

  1. FILE =
    {
        "first": {
            "l2": [ 1, 2 , 3 ],
            "level2": false,
        },
        "second": {
            "l2": [ 9, 8 , 7 ],
            "level2": true,
        },
        "third": {
            "l2": [ 5, 5, 5 ],
            "level2": null,
        }
    }
    
  2. Plugins > JsonTools > Check JSON Syntax Now => See three errors
  3. Edit so only "second" has the error, but the other two are fixed, and save
  4. Right-Click, Refresh with current errors => still see three errors; expect only one error
  5. Plugins > JsonTools > Check JSON Syntax Now => now see one error, as expected

Image

Conclusion

Either I've misunderstood what Refresh with current errors is supposed to do and I thus want this as a FEATURE REQUEST; or I've correctly understood what the action should do but it's not working, so it should be fixed as a BUG.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingprobably fixed?the issue/feature appears to be fixed/implemented, but there still may be issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions