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

[Question] is there a way to show a "header" when the matched line is a single { #135

Open
FederAndInk opened this issue Oct 24, 2023 · 0 comments

Comments

@FederAndInk
Copy link

FederAndInk commented Oct 24, 2023

I am dealing with big json files looking like so:

[
{
  "type": "a type",
  "info": "additionnal info",
  "big array with values": [
    {},
    {},
    ...
   ]
},
{
  "type": "another type",
  "info": "additionnal info",
  "big array with values": [
    {},
    {},
    ...
   ]
},
...
]

when I am editing this json file (editing the "big array with values") I would like to know what is the "type" where I am, but the context window only shows a single {, is there a way to add context/join at least the line after this { ? and get something like { "type": "another type",

@FederAndInk FederAndInk changed the title [Question] is there a way to show a "header" when the matched line is on a single { [Question] is there a way to show a "header" when the matched line is a single { Oct 24, 2023
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

No branches or pull requests

1 participant