Closed jjrev closed 6 months ago
I suppose \\\c:\Users\xxxxxxxx\Development\lingua-franca\test\C\src\Deadline.lf
isn't a valid path on Windows. What is the correct path?
Correct. Just pasting that path into Explorer doesn't work. You have to drop the first three backslashes.
Side note, I downloaded the Epoch IDE (on the same machine) and diagrams render correctly.
Unsure if this is related but I'm also seeing the following error on any *.lf file at the first line (regardless of what that line is):
Error executing EValidator(org.eclipse.emf.ecore.impl.EClassImpl@238915d2 (name: Model) (instanceClassName: null) (abstract: false, interface: false).0)
Seems like a trivial bug, but this would require help from a developer who runs on Windows. I flagged it as such.
Another interesting detail is that this issue does not manifest if I use WSL to launch VSCode.
Another interesting detail is that this issue does not manifest if I use WSL to launch VSCode.
That makes sense though, because in a WSL environment straightforward Linux paths are used. What is the correct version of \\\c:\Users\xxxxxxxx\Development\lingua-franca\test\C\src\Deadline.lf
?
I gave up trying to get the /mnt/c/Users/...
path to load in VSCode launched from WSL (due to permission issues) and just cloned the repo to my WSL home directory.
Using VSCode on Windows 11 with JDK 17 installed, I see the following error message when I try to display the diagram for a given *.lf file (doesn't matter which):
Per a request from @a-sr, copying this issue here from original issue: https://github.com/kieler/klighd-vscode/issues/166#issue-2098586755