@@ -4,28 +4,28 @@ import {
44 CancellationTokenSource ,
55 commands ,
66 Disposable ,
7+ env ,
78 ExtensionContext ,
89 extensions ,
910 languages ,
1011 ProgressLocation ,
1112 ProgressOptions ,
13+ ProviderResult ,
14+ QuickPickItem ,
15+ Range ,
1216 Uri ,
17+ version as vscodeVersion ,
1318 window as Window ,
14- env ,
1519 window ,
16- QuickPickItem ,
17- Range ,
1820 workspace ,
19- ProviderResult ,
20- version as vscodeVersion ,
2121} from "vscode" ;
2222import { LanguageClient } from "vscode-languageclient/node" ;
23- import { platform , arch } from "os" ;
23+ import { arch , platform } from "os" ;
2424import { ensureDir } from "fs-extra" ;
25- import { join , basename } from "path" ;
25+ import { basename , join } from "path" ;
2626import { dirSync } from "tmp-promise" ;
2727import { testExplorerExtensionId , TestHub } from "vscode-test-adapter-api" ;
28- import { parse , lt } from "semver" ;
28+ import { lt , parse } from "semver" ;
2929
3030import { AstViewer } from "./astViewer" ;
3131import {
@@ -47,10 +47,10 @@ import { install } from "./languageSupport";
4747import { DatabaseItem , DatabaseManager } from "./databases" ;
4848import { DatabaseUI } from "./databases-ui" ;
4949import {
50- TemplateQueryDefinitionProvider ,
51- TemplateQueryReferenceProvider ,
5250 TemplatePrintAstProvider ,
5351 TemplatePrintCfgProvider ,
52+ TemplateQueryDefinitionProvider ,
53+ TemplateQueryReferenceProvider ,
5454} from "./contextual/templateProvider" ;
5555import {
5656 DEFAULT_DISTRIBUTION_VERSION_RANGE ,
@@ -64,22 +64,22 @@ import {
6464} from "./distribution" ;
6565import {
6666 findLanguage ,
67- tmpDirDisposal ,
68- showBinaryChoiceDialog ,
6967 showAndLogErrorMessage ,
70- showAndLogWarningMessage ,
68+ showAndLogExceptionWithTelemetry ,
7169 showAndLogInformationMessage ,
70+ showAndLogWarningMessage ,
71+ showBinaryChoiceDialog ,
7272 showInformationMessageWithAction ,
7373 tmpDir ,
74- showAndLogExceptionWithTelemetry ,
74+ tmpDirDisposal ,
7575} from "./helpers" ;
7676import { asError , assertNever , getErrorMessage } from "./pure/helpers-pure" ;
7777import { spawnIdeServer } from "./ide-server" ;
7878import { ResultsView } from "./interface" ;
7979import { WebviewReveal } from "./interface-utils" ;
8080import {
81- ideServerLogger ,
8281 extLogger ,
82+ ideServerLogger ,
8383 ProgressReporter ,
8484 queryServerLogger ,
8585} from "./common" ;
@@ -97,8 +97,8 @@ import {
9797 commandRunner ,
9898 commandRunnerWithProgress ,
9999 ProgressCallback ,
100- withProgress ,
101100 ProgressUpdate ,
101+ withProgress ,
102102} from "./commandRunner" ;
103103import { CodeQlStatusBarHandler } from "./status-bar" ;
104104
@@ -115,7 +115,6 @@ import {
115115 exportSelectedRemoteQueryResults ,
116116 exportVariantAnalysisResults ,
117117} from "./remote-queries/export-results" ;
118- import { RemoteQuery } from "./remote-queries/remote-query" ;
119118import { EvalLogViewer } from "./eval-log-viewer" ;
120119import { SummaryLanguageSupport } from "./log-insights/summary-language-support" ;
121120import { JoinOrderScannerProvider } from "./log-insights/join-order" ;
@@ -1129,15 +1128,6 @@ async function activateWithInstalledDistribution(
11291128 ) ,
11301129 ) ;
11311130
1132- ctx . subscriptions . push (
1133- commandRunner (
1134- "codeQL.monitorRemoteQuery" ,
1135- async ( queryId : string , query : RemoteQuery , token : CancellationToken ) => {
1136- await rqm . monitorRemoteQuery ( queryId , query , token ) ;
1137- } ,
1138- ) ,
1139- ) ;
1140-
11411131 ctx . subscriptions . push (
11421132 commandRunner ( "codeQL.copyRepoList" , async ( queryId : string ) => {
11431133 await rqm . copyRemoteQueryRepoListToClipboard ( queryId ) ;
0 commit comments