lf-lang / vscode-lingua-franca

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

Document setting for disabling automatic build #106

Closed cmnrd closed 1 year ago

cmnrd commented 1 year ago

To me, one of the most annoying aspects about the LF VS code plugin is its auto build feature. I see the value of this feature for end users, but as a LF developer I find myself often in a position where I want to invoke lfc manually as I am experimenting with new features in LF and/or the runtime. Because of the auto-build, I find myself waiting a lot. I have to wait until the auto build finishes before I can safely run lfc, and then the compilation also takes longer because the auto-build has overwritten everything and cmake cannot use its caching.

petervdonovan commented 1 year ago

This exists but just needs to be documented better:

.vscode/settings.json:

{
    "linguafranca.generateCodeOnSave": false
}
cmnrd commented 1 year ago

Ok, is that also exposed somewhere in the GUI?

petervdonovan commented 1 year ago

No. I think VS Code users are probably used to editing .vscode/settings.json. The config file is usually where I go when I want to change any settings related to an extension, and I'm not even sure where in the GUI one would go for extension-specific settings.

I think that part of what makes VS Code such a big improvement over Eclipse for example is that it does not try to put a GUI on everything.

lhstrh commented 1 year ago

So is the action item here to document the existence of this setting?