Introduce and use index.ts

This commit is contained in:
Nora
2023-04-20 09:39:16 +00:00
parent a175cac5f0
commit d455c1aa76
2 changed files with 8 additions and 3 deletions

View File

@@ -36,7 +36,11 @@ import {
QueryHistoryConfigListener, QueryHistoryConfigListener,
QueryServerConfigListener, QueryServerConfigListener,
} from "./config"; } from "./config";
import { install } from "./language-support/language-support"; import {
install,
spawnIdeServer,
getQueryEditorCommands,
} from "./language-support";
import { DatabaseManager } from "./local-databases"; import { DatabaseManager } from "./local-databases";
import { DatabaseUI } from "./local-databases-ui"; import { DatabaseUI } from "./local-databases-ui";
import { import {
@@ -72,7 +76,6 @@ import {
getErrorMessage, getErrorMessage,
getErrorStack, getErrorStack,
} from "./pure/helpers-pure"; } from "./pure/helpers-pure";
import { spawnIdeServer } from "./language-support/ide-server";
import { ResultsView } from "./interface"; import { ResultsView } from "./interface";
import { WebviewReveal } from "./interface-utils"; import { WebviewReveal } from "./interface-utils";
import { import {
@@ -118,7 +121,6 @@ import {
} from "./common/commands"; } from "./common/commands";
import { LocalQueries } from "./local-queries"; import { LocalQueries } from "./local-queries";
import { getAstCfgCommands } from "./ast-cfg-commands"; import { getAstCfgCommands } from "./ast-cfg-commands";
import { getQueryEditorCommands } from "./language-support/query-editor";
import { App } from "./common/app"; import { App } from "./common/app";
import { registerCommandWithErrorHandling } from "./common/vscode/commands"; import { registerCommandWithErrorHandling } from "./common/vscode/commands";
import { DebuggerUI } from "./debugger/debugger-ui"; import { DebuggerUI } from "./debugger/debugger-ui";

View File

@@ -0,0 +1,3 @@
export * from "./ide-server";
export * from "./language-support";
export * from "./query-editor";