-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathcommands.ts
More file actions
27 lines (24 loc) · 991 Bytes
/
commands.ts
File metadata and controls
27 lines (24 loc) · 991 Bytes
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 { pasteAsRescriptJson } from "./commands/paste_as_rescript_json";
export { pasteAsRescriptJsx } from "./commands/paste_as_rescript_jsx";
export const codeAnalysisWithReanalyze = (
diagnosticsCollection: DiagnosticCollection,
diagnosticsResultCodeActions: DiagnosticsResultCodeActionsMap,
outputChannel: OutputChannel,
codeAnalysisRunningStatusBarItem: StatusBarItem,
) => {
runCodeAnalysisWithReanalyze(
diagnosticsCollection,
diagnosticsResultCodeActions,
outputChannel,
codeAnalysisRunningStatusBarItem,
);
};