Skip to content

Add Line-Level Error Highlighting to JSON Validator #35

@rishima17

Description

@rishima17

Description Currently, JSON validation errors are shown as a flat list, making it difficult to locate errors in large files.

Solution Implement precise error location reporting in jsonValidator.tsx:

Line/Column Reference: Display the exact line and column number for each syntax error.
Editor Integration: Highlight the erroneous line within the Monaco editor.
Navigation: Allow users to click an error in the list to jump directly to the specific line in the editor.

Alternatives Scanning through large JSON payloads manually to find the reported character position.

Additional context Improved error visibility is crucial for productivity when dealing with complex configuration files.
please make sure to carefully follow the contribution guidelines mentioned in the repository before making your PR. It helps maintain code quality and makes the review process smoother. Please raise the PR against the develop branch, not the main branch.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions