-
Notifications
You must be signed in to change notification settings - Fork 226
Avoid having functions that aren't at the top level in extension.ts #2087
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
23e1715
Move DistributionUpdateConfig to top level
robertbrignull 82f4941
Move shouldUpdateOnNextActivationKey to top level
robertbrignull ada5f51
Move codeQlVersionRange to top level
robertbrignull 8d3ae78
Move installOrUpdateDistributionWithProgressTitle to top level
robertbrignull 118be4a
Move installOrUpdateDistribution to top level
robertbrignull a8f67d7
Move getDistributionDisplayingDistributionWarnings to top level
robertbrignull ee759ab
Move installOrUpdateThenTryActivate to top level
robertbrignull b059775
Move showResultsForComparison to top level
robertbrignull c366342
Move showResultsForCompletedQuery to top level
robertbrignull e2e197f
Move compileAndRunQuery to top level
robertbrignull c3f4a01
Move DatabaseQuickPickItem to top level
robertbrignull d837170
Move compileAndRunQueryOnMultipleDatabases to top level
robertbrignull 165542d
Move previewQueryHelp to top level
robertbrignull 9d59abd
Move openReferencedFile to top level
robertbrignull 764830e
Move runVariantAnalysis to top level
robertbrignull 7571304
Move viewAst to top level
robertbrignull e81d585
Swap arguments so command arg comes last
robertbrignull fd570ab
Merge branch 'main' into robertbrignull/no-nested-functions
robertbrignull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be better if the
selectedQuerywas the last argument since it's the argument to the command. We now have (from extension, from user, from extension), while I would expect everything from the extension to be grouped together.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I've swapped these two around.