zed/crates/languages/src
张小白 03e2f240ee
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 )
2024-06-24 12:52:07 +02:00
..
bash Recognize PKGBUILD as bash script (#10946) 2024-04-25 09:44:52 -04:00
c Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
cpp cpp: Highlight sized type specifiers as keywords (#12751) 2024-06-08 13:26:10 +03:00
css Use language settings' prettier parsers as a fallback for files with no path (#12273) 2024-05-25 10:50:53 +03:00
go go: Add runnables for Go (#12003) 2024-05-26 15:16:52 +02:00
gomod File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript Fix TSX and JavaScript shorthand property syntax highlighting (#12512) 2024-06-03 00:52:16 +02:00
jsdoc Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
json Add auto-completion support for package.json files (#12792) 2024-06-08 13:33:29 +03:00
markdown Use language settings' prettier parsers as a fallback for files with no path (#12273) 2024-05-25 10:50:53 +03:00
proto chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
python Improve Python syntax highlighting (#12868) 2024-06-18 12:21:18 -04:00
regex Add regex syntax highlighting for JS and TS (#7851) 2024-03-18 09:49:01 -06:00
rust Add runnable for rust main function (#13087) 2024-06-18 16:25:20 +02:00
tsx Added TSX test runnables (#12922) 2024-06-12 11:02:24 +02:00
typescript JavaScript: Add runnable tests (#12118) 2024-06-01 14:28:53 +02:00
yaml YAML: set auto_indent_using_last_non_empty_line to false (fix wonky formatting) (#13351) 2024-06-21 10:58:44 +02:00
bash.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
c.rs Don't generate invalid ranges for C code (#13183) 2024-06-17 21:13:42 -06:00
css.rs Improve the ergonomics of creating local buffers (#10347) 2024-04-10 08:32:51 -06:00
elm.rs Add language_server_workspace_configuration to extension API (#10212) 2024-04-05 17:04:07 -04:00
go.rs Use rust-analyzer from path if possible (#12418) 2024-06-07 06:56:38 +02:00
json.rs windows: Fix JSON schema validation (#13459) 2024-06-24 12:52:07 +02:00
lib.rs Added TSX test runnables (#12922) 2024-06-12 11:02:24 +02:00
python.rs python: Add runnable unittest tasks (#12451) 2024-06-01 18:46:36 +02:00
rust.rs Add runnable for rust main function (#13087) 2024-06-18 16:25:20 +02:00
tailwind.rs tailwind: Allow configuring custom tailwind server build (#11921) 2024-05-16 18:00:30 +02:00
typescript.rs Wrap JS/TS runnables in quotes (#12932) 2024-06-12 14:58:04 +02:00
vtsls.rs typescript: Make VTSLS the default language server for Typescript (#13140) 2024-06-18 20:16:03 +02:00
yaml.rs Add language_server_workspace_configuration to extension API (#10212) 2024-04-05 17:04:07 -04:00