yoctoproject / vscode-bitbake

Bitbake language support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake
Other
43 stars 10 forks source link

Allow postponing of Bitbake Calls in Settings Dialog #203

Open cordlandwehr opened 6 months ago

cordlandwehr commented 6 months ago

I had/have the following use case: for a slightly more complicated Yocto setup (Bitbake shall be run in a container, inside the container a git credentials cache needs to be initialized) I did not get the Command Wrapper directly right, as it needs to be set inside plugin settings. While trying to retyping it, I got constant warnings and failures from not working Bitbake calls (well, I was still typing and not even ready to give it a next try ;) )

So I think it would make sense to have automatic execution of BitBake calls disabled until after the first successful run and before that, to have an explicit "test config" button.

deribaucourt commented 6 months ago

Hi! We only launch a "sanity test" when the settings.json file is saved, not when the user types. Can you check wether whenever you type a new character in your settings.json file, it gets saved automatically on your setup? Was it another file you were typing? Likewise, we don't run bitbake except on file saves to my knowledge.