monaco-languageclient
monaco-languageclient copied to clipboard
Catch Ctrl + click on import
When I Ctrl + click an import statement in the editor, I get:
FileOperationError: Unable to read file '*****.extension' (Error: Unable to resolve nonexistent file ''*****.extension')
That makes sense, because the referenced file isn’t present in the virtual file system. Is there a way to intercept this—perhaps via a callback that gives me the model or URI of the file the editor is trying to open?