josdejong / josdejong/svelte-jsoneditor

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

Open
#487 9 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
TypeScript
Stars
1.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing text mode and the current features/events API to determine whether cursor location can be mapped to a JSONPath. Identify the relevant editor entry points and event behavior before proposing an approach. Done means text mode exposes the JSONPath for the current cursor location with clear behavior and coverage for the supported cursor cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.