grafana / grafana/jsonnet-language-server

Support JSON schema validation

Open
#140 2 comments 11 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
223
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Would it ever be possible for jsonnet-language-server to detect JSON schemas and use them to empower completion and warnings?

For instance, at the simplest extreme that could mean that if you have a simple jsonnet file with a "$schema" field, code completion could suggest other valid names for top-level JSON field names from the schema for you, and warn if you use a name that's not defined in the schema.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Review the language server's existing completion and warning behavior, then clarify how $schema and JSON Schema support should be discovered and scoped; done should include agreed completion suggestions and validation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.