diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-28 17:43:51 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-28 17:43:51 +0000 |
commit | 703e6bfdb6d7db87318a8f7c3b5c8c96283ee379 (patch) | |
tree | 479c972997987d535c84d8cb03ab0c05d935a280 /editors/code/src/lsp_ext.ts | |
parent | 00b9b2d6458d20e15e602e659cafe6c09765c5ae (diff) | |
parent | d069ef60b6d46925bebbb7bb0b59953ef38153a2 (diff) |
Merge #7412
7412: Async loading for outdir and proc-macro r=maklad a=edwin0cheng
cc #7328
![Peek 2021-01-24 02-04](https://user-images.githubusercontent.com/11014119/105610083-8f208100-5de8-11eb-8e96-c2d4e349b352.gif)
[Edit]
~~Finding a way to know when the workspace and build data are loaded...~~
[Edit 2]
Not perfect solution, but seem to work now.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index d21a3db86..2de1e427d 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -10,7 +10,7 @@ export interface AnalyzerStatusParams { | |||
10 | export const analyzerStatus = new lc.RequestType<AnalyzerStatusParams, string, void>("rust-analyzer/analyzerStatus"); | 10 | export const analyzerStatus = new lc.RequestType<AnalyzerStatusParams, string, void>("rust-analyzer/analyzerStatus"); |
11 | export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage"); | 11 | export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage"); |
12 | 12 | ||
13 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; | 13 | export type Status = "loading" | "ready" | "readyPartial" | "invalid" | "needsReload"; |
14 | export interface StatusParams { | 14 | export interface StatusParams { |
15 | status: Status; | 15 | status: Status; |
16 | } | 16 | } |