You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a VSCode editor that uses GLSP's vscode integration to provide graphical elements.
I wanted to see if I could get some clarification on the limitations of GLSP as a VSCode integration, specifically related to how the source model can be loaded.
Based on my current understanding, GLSP is started by whatever extension of GlspEditorProvider the developer provides, where resolveCustomEditor() receives a document and registers the client with a GLSPDiagramIdentifier instance.
Based on how GLSPDiagramIdentifier is defined, it seems like we're limited to using a single file as the originator of the source model, is that correct? It isn't possible to use a collection of files as a source for the data, then process the contents into some object for GLSP to use?
I imagine this is likely because of how VSCode handles editors as being tied to a specific file, but I just wanted to verify that this is the case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a VSCode editor that uses GLSP's vscode integration to provide graphical elements.
I wanted to see if I could get some clarification on the limitations of GLSP as a VSCode integration, specifically related to how the source model can be loaded.
Based on my current understanding, GLSP is started by whatever extension of
GlspEditorProvider
the developer provides, whereresolveCustomEditor()
receives adocument
and registers the client with aGLSPDiagramIdentifier
instance.Based on how
GLSPDiagramIdentifier
is defined, it seems like we're limited to using a single file as the originator of the source model, is that correct? It isn't possible to use a collection of files as a source for the data, then process the contents into some object for GLSP to use?I imagine this is likely because of how VSCode handles editors as being tied to a specific file, but I just wanted to verify that this is the case.
Beta Was this translation helpful? Give feedback.
All reactions