Skip to content

VSCode: Autosave when running query #7680

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JLLeitschuh
Copy link
Contributor

Configure VS Code to autosave when running a query from within the IDE. This prevents an annoying pop-up every time you attempt to execute a CodeQL query from a file that hasn't been saved yet. It also guarntees that what you're seeing in the IDE will be what gets exceuted by the CodeQL plugin.

@JLLeitschuh
Copy link
Contributor Author

👋 anyone able to take a look at this?

@owen-mc
Copy link
Contributor

owen-mc commented Jan 28, 2022

I already have this setting. I have no memory of ever setting it. I can imagine it would be annoying to get a pop-up that you describe.

@aeisenberg
Copy link
Contributor

We're chatting about this internally. I personally don't have any strong feeling about having it for myself. I do have a concern that adding this setting to the workspace will override any user setting and will prevent a user who does not want autosave for their queries.

Is there a reason why setting it globally isn't working for you?

@JLLeitschuh
Copy link
Contributor Author

There didn't seem to be a pop-up option allowing this to be set globally when I experienced it

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.

3 participants