de-jcup / eclipse-hijson-editor

Highspeed JSON editor
https://marketplace.eclipse.org/content/hijson-editor
Apache License 2.0
8 stars 1 forks source link

Provide link between outline and editor #10

Closed de-jcup closed 3 years ago

de-jcup commented 3 years ago

Situation

Currently (1.0.0) there is no link sync between editor and outline. So outline is just to view structure.

The reason is that Jackson library does not provide the pos information at default scan.

Wanted

As a developer I want to doubleclick on the outline entry and the editor shall open the text position in editor

Solution

Jackson data model parsing is very fast. To change this library etc. would reduce speed (IMHO). I think the most simple way is to parse the document again, when there is a double click and fetch the position then.

Possibilities: