Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show index for array's elements #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Karacala
Copy link

Show index for array's elements [i]

json_screenshot

@zckrs
Copy link

zckrs commented Mar 26, 2019

@lauriro any news about this PR

I think is a usefull feature and a option is available to activate the new feature

@lauriro
Copy link
Member

lauriro commented Mar 26, 2019

First of all, thank you @Karacala for your contribution.

I have been thinking about this feature in silence and I am not completely satisfied yet.

Indices can be useful but not for arrays with 2-3 item. Always showing them is a lot of noise.
I tried to show them on hover like date info, then start thinking, that json-pointer could be more useful.

Currently I am thinking about showing json-pointer on click.

@zckrs
Copy link

zckrs commented Mar 26, 2019

not for arrays with 2-3 item

Agree. Show indices on hover can resolved this issue.

json-pointer on click.

Would be add in another PR ?

Base automatically changed from master to main February 19, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants