Add command to run multiple queries at once from file explorer#462
Merged
aeisenberg merged 4 commits intogithub:mainfrom Jun 22, 2020
Merged
Add command to run multiple queries at once from file explorer#462aeisenberg merged 4 commits intogithub:mainfrom
aeisenberg merged 4 commits intogithub:mainfrom
Conversation
Contributor
Author
|
Ping @github/product-docs-dsp! Changed the command name from "CodeQL: Run query" to "CodeQL: Run Queries in Selected Files". It is only available from the file explorer. |
jcreedcmu
reviewed
Jun 22, 2020
Recommend formatting and linting extension. Also, use 100 columns for formatting.
New command called `codeQL.runQueries`. When invoked, gather all selected files and folders, and recursively search for ql files to run. Warn the user if a directory is selected. See comment inline for reason.
964566a to
3624255
Compare
Throw error if user tries to run more than that.
3624255 to
04f86c9
Compare
jcreedcmu
approved these changes
Jun 22, 2020
Contributor
jcreedcmu
left a comment
There was a problem hiding this comment.
Ok, limiting this seems less than completely ideal, but seems like a fine compromise for now until we get more feedback. Figuring out either cancellation or at least making this limit configurable would be great.
This was referenced Jun 22, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New command called
codeQL.runQueries.When invoked, gather all selected files and folders, and recursively search for ql files to run. Warn the user if a directory is selected. See comment inline for reason.
Fixes #459
Checklist
@github/product-docs-dsphas been cc'd in all issues for UI or other user-facing changes made by this pull request.