Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 9245654

Browse files
committed
Move existing rustAnalyzer.ts under dedicated submodule
1 parent 4a1de1a commit 9245654

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import * as lc from 'vscode-languageclient';
1616

1717
import { RLSConfiguration } from './configuration';
1818
import * as rls from './rls';
19-
import * as rustAnalyzer from './rustAnalyzer';
19+
import * as rustAnalyzer from './rust-analyzer';
2020
import { rustupUpdate } from './rustup';
2121
import { startSpinner, stopSpinner } from './spinner';
2222
import { activateTaskProvider, Execution, runRlsCommand } from './tasks';

src/rust-analyzer/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export {
2+
createLanguageClient,
3+
getServer,
4+
setupClient,
5+
setupProgress,
6+
} from './rustAnalyzer';

src/rustAnalyzer.ts renamed to src/rust-analyzer/rustAnalyzer.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { promisify } from 'util';
66
import * as vs from 'vscode';
77
import * as lc from 'vscode-languageclient';
88

9-
import { WorkspaceProgress } from './extension';
10-
import { download, fetchRelease } from './net';
11-
import * as rustup from './rustup';
12-
import { Observable } from './utils/observable';
9+
import { WorkspaceProgress } from '../extension';
10+
import { download, fetchRelease } from '../net';
11+
import * as rustup from '../rustup';
12+
import { Observable } from '../utils/observable';
1313

1414
const stat = promisify(fs.stat);
1515
const mkdir = promisify(fs.mkdir);

0 commit comments

Comments
 (0)