# Support tasks from rust-analyzer \(\#28359\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/39c98ce8821ff5ffda82832c7b93ebef85a66bab)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 39c98ce8821ff5ffda82832c7b93ebef85a66bab

Requested commit: 39c98ce8821ff5ffda82832c7b93ebef85a66bab

Commit: 39c98ce8821ff5ffda82832c7b93ebef85a66bab

Tree: 3d15049d6975086e37edb736eb96919d1c68e994

Author: Kirill Bulatov

Committer: GitHub

## Message

````
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
````

## Parents

- [763cc6dba366d30bdefe90e4dc7257040e9a1b50](https://git.cafe/gitcafe/zed/commit/763cc6dba366d30bdefe90e4dc7257040e9a1b50?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/39c98ce8821ff5ffda82832c7b93ebef85a66bab?format=markdown)
