Is there a generally specification for references within a file?

Viewed 10

I wanted writing an IDE plugin to simplify work with references to code in my documentation, but decided to first check the existence of a specification (like URI) so as not to reinvent the wheel.

I tried to find the answer to this on the internet but failed.

We know that such references work in different IDEs:

  • appRoot.folder.file.Class#method
  • appRoot.folder.file:35
  • appRoot/fodler/file.ext:35

But what if you need to get the path to the nested property JSON or XML?

I naively imagine that the sign # means the root and then for the JSON path I could use something like this:

  • appRoot/folder/jsonFile.json#oneLevelProp.twoLevelProp

But this of course does not work at the current moment in any IDE that I know of.

0 Answers
Related