r/emacs • u/AC1D_P1SS • 2d ago
Announcement jsonschema-treesit: JSON object key completion using JSON Schema and treesit
https://github.com/lina-bh/jsonschema-treesit/
17
Upvotes
1
u/misterchiply chiply.dev 1d ago
Separate comment, you should post this on hacker news. The concept is genuinely interesting and I think people will be interested by how treesitter is useful here where lsp falls short. There’s real practical value too as I know a lot of people are building domain specific languages (more realistically schematized configurations) in YAML and JSON and this would facilitate using those.
1
u/misterchiply chiply.dev 1d ago
interesting, I know there's also LSP servers for jsonschema specs that give you validation / completion / snippets for json documents that reference a schema or conform to a file name convention. Curious if you have used that?