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

Feature request - Get JSONPath based on cursor location in text mode #487

Open
laurensV opened this issue Oct 1, 2024 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@laurensV
Copy link

laurensV commented Oct 1, 2024

Would love to have the ability to get the current JSONPath based on the cursor location in text mode, but I don't think with the current features/events this is possible at the moment. Is this something that can be achieved or is this too hard in text mode?

@josdejong
Copy link
Owner

That would be very nice indeed, thanks for sharing your idea.

I'm not sure how complex this will be to implement, we probably need a JSON parser which can translate the current caret position into the nested path of the JSON document (and the other way around).

Anyone interested in figuring this out? Help would be welcome.

@josdejong josdejong added enhancement New feature or request help wanted Extra attention is needed labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants