Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Stop saving all open editors when saving a bitbake file #25

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

deribaucourt
Copy link
Member

The default behavior of vscode is to save all open editors when a task is run. We currently run the parsing task for any bitbake file save. This means that if you have multiple bitbake files open, all of them will be saved when any one of them is saved which is not the desired behavior.

This patch temporarily disables the saveBeforeRun setting when the bitbake/parseAllRecipes request is received.

The default behavior of vscode is to save all open editors when a task
is run. We currently run the parsing task for any bitbake file save.
This means that if you have multiple bitbake files open, all of them
will be saved when any one of them is saved which is not the desired
behavior.

This patch temporarily disables the saveBeforeRun setting when the
bitbake/parseAllRecipes request is received.
@WilsonZiweiWang
Copy link
Contributor

I imagine users might want to have this configurable but let's see.

@deribaucourt deribaucourt merged commit 542b91d into yoctoproject:staging Dec 7, 2023
1 check passed
@deribaucourt deribaucourt deleted the fix-save branch December 7, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants