zed/crates/task/src
Piotr Osiewicz 4dc61f7ccd
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.
2024-03-22 16:18:33 +01:00
..
lib.rs Extensions registering tasks (#9572) 2024-03-22 16:18:33 +01:00
oneshot_source.rs Extensions registering tasks (#9572) 2024-03-22 16:18:33 +01:00
static_source.rs Extensions registering tasks (#9572) 2024-03-22 16:18:33 +01:00
vscode_format.rs Extensions registering tasks (#9572) 2024-03-22 16:18:33 +01:00