Replies: 2 comments 3 replies
-
Hey @cdietrich, I'm thinking of this:
I believe that this should generally allow the linking service to link to those elements of the JSON document. Additionally, you might be also able to play around with the CST to even allow navigation to those declarations (assuming you use a JSON parser that yields you the line/column information of the JSON objects, like jsonc-parser). |
Beta Was this translation helpful? Give feedback.
2 replies
-
@cdietrich did you end up with a solution for this? We're looking to do something similar |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
additional to our dsl files
*.hello
we also have some*.something.json
files in the workspace.now we want to make declarations done in json available to the dsl files via cross reference.
i see these options
*.something.json
.WorkspaceManager.loadAdditionalDocuments
andDefaultDocumentUpdateHandler.didChangeWatchedFiles
(and maybe more ?!?, manually populate some structure (dont think we can manage langium docs from there=any comments, hints, best practices
Beta Was this translation helpful? Give feedback.
All reactions