• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

redhat-developer / yaml-language-server / 28052962912

23 Jun 2026 07:55PM UTC coverage: 85.091% (-0.6%) from 85.734%
28052962912

push

github

web-flow
Remove `vscode-json-languageservice` dependency (#1285)

* remove vscode-json-languageservice dependency

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* fix lint issues + uri normalization issue on Windows

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* fix normalizeId

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* removed duplicated pieces from vscode-json-languageservice from YLS

* Remove the copied JSON parser and its direct parser tests
* Re-type copied JSON services to use YLS’s existing JSONDocument and AST types
* Move schema registry/cache/loading behavior directly into YAMLSchemaService
* Update JSON validation to depend on IJSONSchemaService instead of a concrete JSONSchemaService class

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* Consistent type imports

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* move the copied jsonLinks directly into YLS's existing yamlLinks

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* merge jsonDocumentSymbols into documentSymbols and jsonValidation into yamlValidation

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* fix linter issue

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* removed unused documentPositionCalculator and move astNodeUtils under utils

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* removed glob.ts with picomatch and replaced then callback with async function

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* use async/await where possible

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

* clean up

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

---------

Signed-off-by: Morgan Chang <shin19991207@gmail.com>

2490 of 3116 branches covered (79.91%)

Branch coverage included in aggregate %.

586 of 695 new or added lines in 19 files covered. (84.32%)

3 existing lines in 1 file now uncovered.

4861 of 5523 relevant lines covered (88.01%)

423973.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.65
/src/languageservice/jsonLanguageTypes.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc