-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathcommands.ts
27 lines (24 loc) · 888 Bytes
/
commands.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { DiagnosticCollection, OutputChannel, StatusBarItem } from "vscode";
import {
DiagnosticsResultCodeActionsMap,
runCodeAnalysisWithReanalyze,
} from "./commands/code_analysis";
export { createInterface } from "./commands/create_interface";
export { openCompiled } from "./commands/open_compiled";
export { switchImplIntf } from "./commands/switch_impl_intf";
export { dumpDebug, dumpDebugRetrigger } from "./commands/dump_debug";
export const codeAnalysisWithReanalyze = (
targetDir: string | null,
diagnosticsCollection: DiagnosticCollection,
diagnosticsResultCodeActions: DiagnosticsResultCodeActionsMap,
outputChannel: OutputChannel,
codeAnalysisRunningStatusBarItem: StatusBarItem
) => {
runCodeAnalysisWithReanalyze(
targetDir,
diagnosticsCollection,
diagnosticsResultCodeActions,
outputChannel,
codeAnalysisRunningStatusBarItem
);
};