# windows: Fix JSON schema validation \(\#13459\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/03e2f240ee84c41f0305598125b4c27639d434e3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 03e2f240ee84c41f0305598125b4c27639d434e3

Requested commit: 03e2f240ee84c41f0305598125b4c27639d434e3

Commit: 03e2f240ee84c41f0305598125b4c27639d434e3

Tree: 90177f2c1b82f221122ce1ed243d38d07f5e3a97

Author: 张小白

Committer: GitHub

## Message

```
windows: Fix JSON schema validation (#13459)

This PR needs suggestions, especially from the Zed team. As I mentioned
in a previous issue #13394 , the `vscode-json-languageserver` that Zed
originally relied on has some issues with JSON schema validation on
Windows, and it hasn't been updated for a long time. This PR uses the
more frequently updated `vscode-langservers-extracted`, which resolves
this issue.

Currently, `vscode-langservers-extracted` includes not only the JSON LSP
server but also LSP servers for other languages. I think we might need a
package specifically for the JSON LSP server, such as something like
`vscode-json-langserver-extracted`, or we could consider using the LSP
servers for other languages from this package as well.

And, there are some issues with installing
`vscode-langservers-extracted` on Windows, causing the `postinstall`
script to fail. However, this does not seem to affect any functionality.
Therefore, I think the best solution is for the Zed team to maintain a
package like `vscode-json-langserver-extracted` or something else. This
way, we can update it promptly and address the installation issues on
Windows.

Any suggestions or advices are welcome.


#### JSON vaildation on Winodws



https://github.com/zed-industries/zed/assets/14981363/8cd7ff54-28ec-4601-b2e5-183e2fae2051



Closes #13394 

Release Notes:

- Fixed JSON schema validation issue on Windows.(#13394 )
```

## Parents

- [145cd798c0799bfe18e1044164d8aba8e8acea61](https://git.cafe/gitcafe/zed/commit/145cd798c0799bfe18e1044164d8aba8e8acea61?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/03e2f240ee84c41f0305598125b4c27639d434e3?format=markdown)
