ZIm/crates/collab/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
..
api Use insert_id as partition key for crash events (#28293) 2025-04-07 17:24:31 -07:00
bin windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
db Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
llm collab: Track input and output tokens per minute separately (#28097) 2025-04-04 15:37:06 +00:00
rpc chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
tests Git activity indicator (#28204) 2025-04-07 18:10:01 +00:00
api.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
auth.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
cents.rs Send llm events to snowflake too (#21091) 2024-11-22 20:40:39 -07:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
env.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
lib.rs Rename livekit_server to livekit_api (#24984) 2025-02-16 20:24:12 +00:00
llm.rs Write panics and crashes to snowflake (#28284) 2025-04-07 15:50:16 -07:00
main.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
migrations.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
rate_limiter.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
rpc.rs Support tasks from rust-analyzer (#28359) 2025-04-08 15:07:56 -06:00
seed.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
stripe_billing.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
user_backfiller.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00