mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-04 00:54:52 +00:00
Fix StatusNotification
This commit is contained in:
parent
b050937c10
commit
1eed036a6e
5 changed files with 22 additions and 5 deletions
|
|
@ -412,7 +412,13 @@ Reloads project information (that is, re-executes `cargo metadata`).
|
|||
|
||||
**Method:** `rust-analyzer/status`
|
||||
|
||||
**Notification:** `"loading" | "ready" | "invalid" | "needsReload"`
|
||||
**Notification:**
|
||||
|
||||
```typescript
|
||||
interface StatusParams {
|
||||
status: "loading" | "ready" | "invalid" | "needsReload",
|
||||
}
|
||||
```
|
||||
|
||||
This notification is sent from server to client.
|
||||
The client can use it to display persistent status to the user (in modline).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue