# Extensions registering tasks \(\#9572\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4dc61f7ccd6ac77a6f03d90d7ee80e855b0f32b9

Requested commit: 4dc61f7ccd6ac77a6f03d90d7ee80e855b0f32b9

Commit: 4dc61f7ccd6ac77a6f03d90d7ee80e855b0f32b9

Tree: 93165318cae278ef19ec7e653c12bdeb9cf330a7

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
Extensions registering tasks (#9572)

This PR also introduces built-in tasks for Rust and Elixir. Note that
this is not a precedent for future PRs to include tasks for more
languages; we simply want to find the rough edges with tasks & language
integrations before proceeding to task contexts provided by extensions.

As is, we'll load tasks for all loaded languages, so in order to get
Elixir tasks, you have to open an Elixir buffer first. I think it sort
of makes sense (though it's not ideal), as in the future where
extensions do provide their own tasks.json, we'd like to limit the # of
tasks surfaced to the user to make them as relevant to the project at
hand as possible.

Release Notes:

- Added built-in tasks for Rust and Elixir files.
```

## Parents

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

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