-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Is your feature request related to a problem? Please describe.
Currently, react-json-view-lite does not support displaying line numbers alongside the rendered JSON tree. This makes it difficult to reference or debug specific parts of deeply nested or large JSON documents, especially in developer tools or inspectors.
Describe the solution you'd like
It would be great to have an optional showLineNumbers prop that, when enabled:
- Displays a vertical column on the left with line numbers
- Dynamically adjusts as nodes are expanded/collapsed
- Syncs the line numbers to visible rows in the tree
Would love to see this as a built-in feature or even just better hooks/events to support this externally.
Thanks for the great library!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
