litejs / json-lite

Fast non-blocking JSON viewer for Chrome and Firefox
196 stars 17 forks source link

Great product! Can you add line numbers please? #8

Closed mlemmnapa closed 3 years ago

mlemmnapa commented 7 years ago

You've done a great job with the formatting. Would it be possible to add lines numbers on the left? Thank you!

lauriro commented 7 years ago

It takes some time. With current architecture this would be too great impact for performance, there are rewrite in progress that has to be completed first.

jdegger commented 6 years ago

The full CSS solution should not be that hard on performance:

https://codepen.io/elomatreb/pen/hbgxp

boghyon commented 4 years ago

What is actually the benefit of showing line numbers..? What's the use case?

lauriro commented 4 years ago

I can see a benefit to share a link to specific line in a large static json (like in github code). Some can think they are just beautiful :)

Currently CSS solution is in use for other features.

xuanswe commented 4 years ago

The full CSS solution should not be that hard on performance:

https://codepen.io/elomatreb/pen/hbgxp

Can css solution keep the correct line number when collapse items like below? image