ZainChen/vscode-json

The extension is broken

droslean opened this issue · 2 comments

I just installed it in vscode version 1.72.0`. I opened my JSON file, but the extension is completely broken.

image

I have the same problem

I had this same problem, but I realized that there were syntax issues in my file. It simply didn't recognize the file until the syntax issue was fixed. Once I fixed the issues the tree in the left side-bar was populated.

If you're like me, you probably expected one of the functions of this extension to be a linter that would help you discover these syntax issues, but apparently that isn't one of its features (if I'm understanding correctly). I imagine that there are JSON linter extensions, but I found this online linter/prettifier to be very helpful: https://jsonlint.com

I'm not sure if that was the cause of the OP's issue or not, but hopefully people arriving here with a similar issue may find this helpful. :-)