aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-30 19:10:40 +0000
committerAleksey Kladov <[email protected]>2019-12-30 19:10:40 +0000
commit7b199f6a4b7a947d1dad6a74b2b88758497d4efa (patch)
tree8fbc8dca5fc5171b179afe1c47f841895cb5b5c6 /editors/code/src
parent3d008a78d0ab1d43629326d58d4b2a157303dd00 (diff)
Hints are not commands
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands/index.ts2
-rw-r--r--editors/code/src/inlay_hints.ts (renamed from editors/code/src/commands/inlay_hints.ts)2
-rw-r--r--editors/code/src/main.ts2
3 files changed, 2 insertions, 4 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index 4a2e8e4db..89af4be90 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -10,7 +10,6 @@ import { onEnter } from './on_enter';
10import { parentModule } from './parent_module'; 10import { parentModule } from './parent_module';
11import { syntaxTree } from './syntax_tree'; 11import { syntaxTree } from './syntax_tree';
12import { expandMacro } from './expand_macro'; 12import { expandMacro } from './expand_macro';
13import * as inlayHints from './inlay_hints';
14import { run, runSingle } from './runnables'; 13import { run, runSingle } from './runnables';
15 14
16function collectGarbage(ctx: Ctx): Cmd { 15function collectGarbage(ctx: Ctx): Cmd {
@@ -38,7 +37,6 @@ export {
38 parentModule, 37 parentModule,
39 syntaxTree, 38 syntaxTree,
40 onEnter, 39 onEnter,
41 inlayHints,
42 collectGarbage, 40 collectGarbage,
43 run, 41 run,
44 runSingle, 42 runSingle,
diff --git a/editors/code/src/commands/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 6d00152f8..b975915ca 100644
--- a/editors/code/src/commands/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -1,6 +1,6 @@
1import * as vscode from 'vscode'; 1import * as vscode from 'vscode';
2import * as lc from 'vscode-languageclient'; 2import * as lc from 'vscode-languageclient';
3import { Server } from '../server'; 3import { Server } from './server';
4 4
5interface InlayHintsParams { 5interface InlayHintsParams {
6 textDocument: lc.TextDocumentIdentifier; 6 textDocument: lc.TextDocumentIdentifier;
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 4a3e1ab7c..cf0ddfa16 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -2,7 +2,7 @@ import * as vscode from 'vscode';
2import * as lc from 'vscode-languageclient'; 2import * as lc from 'vscode-languageclient';
3 3
4import * as commands from './commands'; 4import * as commands from './commands';
5import { HintsUpdater } from './commands/inlay_hints'; 5import { HintsUpdater } from './inlay_hints';
6import { StatusDisplay } from './commands/watch_status'; 6import { StatusDisplay } from './commands/watch_status';
7import * as events from './events'; 7import * as events from './events';
8import * as notifications from './notifications'; 8import * as notifications from './notifications';