lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
5 stars 3 forks source link

Make "Build and Run" action work irrespective of current working directory #45

Closed petervdonovan closed 2 years ago

petervdonovan commented 2 years ago

This changes the working directory before running any commands. Unfortunately there is no way to check if the user has changed to a different working directory, so this action will be performed unconditionally when the "Build and Run" action is triggered.

The request was to use absolute paths instead of relative paths. This does not do that because this method was easier to implement, and because it might be more robust if we have run commands that behave differently according to the current working directory. If we really want absolute paths, then that is no problem, but it would just take some more testing and changes in the lingua-franca main repo.