Found while reviewing #308 (JSON Schema 2019-09 support).
Problem
JSONDocument.getMatchingSchemas gained an activeVocabularies parameter, but the callers do not pass it:
src/services/jsonCompletion.ts (doc.getMatchingSchemas(schema.schema, node.offset))
src/services/jsonHover.ts
src/services/jsonDocumentSymbols.ts
As a result, completion and hover ignore vocabulary-disabled keywords, which is inconsistent with validation (which does thread schema.activeVocabularies).
Suggested direction
Thread resolvedSchema.activeVocabularies through the completion/hover/document-symbol code paths.
Severity
Medium — inconsistent behavior between validation and IntelliSense.
Found while reviewing #308 (JSON Schema 2019-09 support).
Problem
JSONDocument.getMatchingSchemasgained anactiveVocabulariesparameter, but the callers do not pass it:src/services/jsonCompletion.ts(doc.getMatchingSchemas(schema.schema, node.offset))src/services/jsonHover.tssrc/services/jsonDocumentSymbols.tsAs a result, completion and hover ignore vocabulary-disabled keywords, which is inconsistent with validation (which does thread
schema.activeVocabularies).Suggested direction
Thread
resolvedSchema.activeVocabulariesthrough the completion/hover/document-symbol code paths.Severity
Medium — inconsistent behavior between validation and IntelliSense.