Add custom schema support#47
Merged
Merged
Conversation
|
| Filename | Overview |
|---|---|
| crates/server/src/backend.rs | Adds custom schema loading during LSP initialization, fallback warning handling, analyzer indirection, and focused tests. |
| crates/server/tests/fixtures/custom-schema.json | Adds a minimal custom schema fixture used to verify schema-driven diagnostics behavior. |
| docs/language-server.md | Documents the new schemaPath initialization option and fallback behavior. |
| editors/vscode/README.md | Adds the VS Code custom schema setting to the settings table. |
| editors/vscode/package.json | Contributes the schema picker command and zerosyntax.schema.path configuration setting. |
| editors/vscode/src/extension.ts | Passes the configured schema path to the server and registers a command-palette picker that updates workspace configuration. |
Reviews (2): Last reviewed commit: "Merge branch 'dev' of https://github.com..." | Re-trigger Greptile
…eat-custom-schema # Conflicts: # crates/server/src/backend.rs
ViTeXFTW
marked this pull request as ready for review
July 17, 2026 07:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed\n\n- load an optional custom schema before indexing\n- fall back to the embedded schema with a warning on read or JSON errors\n- add a VS Code setting and command-palette file picker\n- document configuration and add focused behavioral tests\n\n## Why\n\nMod authors can use their own schema without replacing the bundled server, while retaining safe built-in behavior when that schema is unavailable or invalid.\n\n## Validation\n\n- cargo test --workspace\n-
pm run compile in �ditors/vscode\n- stdio end-to-end suite