ZIm/crates/proto/src
Kirill Bulatov 39c98ce882
Support tasks from rust-analyzer (#28359)
(and any other LSP server in theory, if it exposes any LSP-ext endpoint
for the same)

Closes https://github.com/zed-industries/zed/issues/16160

* adds a way to disable tree-sitter tasks (the ones from the plugins,
enabled by default) with
```json5
"languages": {
  "Rust": "tasks": {
      "enabled": false
    }
  }
}
```
language settings

* adds a way to disable LSP tasks (the ones from the rust-analyzer
language server, enabled by default) with
```json5
"lsp": {
  "rust-analyzer": {
    "enable_lsp_tasks": false,
  }
}
```

* adds rust-analyzer tasks into tasks modal and gutter:

<img width="1728" alt="modal"
src="https://github.com/user-attachments/assets/22b9cee1-4ffb-4c9e-b1f1-d01e80e72508"
/>

<img width="396" alt="gutter"
src="https://github.com/user-attachments/assets/bd818079-e247-4332-bdb5-1b7cb1cce768"
/>


Release Notes:

- Added tasks from rust-analyzer
2025-04-08 15:07:56 -06:00
..
error.rs Log prettier errors on failures (#19951) 2024-10-30 14:49:47 +02:00
macros.rs SSH Remoting: Fix reconnects (#19485) 2024-10-19 23:14:19 -06:00
proto.rs Support tasks from rust-analyzer (#28359) 2025-04-08 15:07:56 -06:00
typed_envelope.rs chore: Replace as_any functions with trait upcasting (#28221) 2025-04-08 22:16:27 +02:00