Closed byeonggiljun closed 2 years ago
Thanks for the bug report, @ByeongGil-Jun!
This is a known issue also reported in https://github.com/lf-lang/vscode-lingua-franca/issues/31 and @a-sr is working on a fix.
The synchronization between the VS Code extension and the Lingua Franca code base is version based, and we're rolling out automated release infrastructure to ensure that these stay in sync, starting with the upcoming v0.1.0 release of LF.
For the time being, you could do this:
git clone --recurse-submodules git@github.com:lf-lang/vscode-lingua-franca.git
cd lingua-franca
git pull origin master
cd ..
npm install
This will build and install a new vsix
image with the latest Lingua Franca and install it in VS Code.
I was just able to confirm that this issue has, in fact, not been fixed yet. We hope to release a patch for this soon.
Has been solved in v0.1.1 release.
I'm Byeonggil Jun, an undergraduate student who is working on LF, especially the ts target advised by professor Hokeun Kim.
I'd like to report an error in VS Code plugin that I'm experiencing.
I'm currently using VS Code's LF plugin for development. When my code has a cyclic dependency error, half of the diagram is painted red in the VS Code plugin's diagram. On the other hand, in the epoch, the diagram is displayed perfectly.
This is my code. The purpose of this code is to take a user input on one federate and print it on another federate, iteratively.
One possible reason is that VS Code plugin may be out of sync with the lingua-franca code base. My VS Code shows error messages below although the code is compiled successfully.
I experienced that error message before when I ran ./gradlew runLfc on the command line with the lingua-franca code base that was out of sync.
My development environment is as follows: OS: Ubuntu 20.04
Please let me know if you need more information necessary for debugging.
Thanks, Byeonggil