Skip to content

Improve Diagnostics #42

@kitsonk

Description

@kitsonk

Diagnostics for an import map should include locations/spans of errors in the source file, to make printing and using the diagnostics in language servers more useful.

@dsherret just added a strict parse mode to https://crates.io/crates/jsonc-parser, which can be used to parse and walk the JSON structure to improve the diagnostics. We should use that for parsing the import map and generating diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions