ZIm/crates/project/src
Piotr Osiewicz bac6e2fee7
tasks: Add experimental support for user-defined task variables (#13699)
Context:
@bennetbo spotted a regression in handling of `cargo run` task in zed
repo following a merge of #13658. We've started invoking `cargo run`
from the folder of an active file whereas previously we did it from the
workspace root. We brainstormed few solutions that involved adding a
separate task that gets invoked at a workspace level, but I realized
that a cleaner solution may be to finally add user-configured task
variables. This way, we can choose which crate to run by default at a
workspace level.

This has been originally brought up in the context of javascript tasks
in
https://github.com/zed-industries/zed/pull/12118#issuecomment-2129232114

Note that this is intended for internal use only for the time being.
/cc @RemcoSmitsDev we should be unblocked on having runner-dependant
tasks now.

Release notes:

- N/A
2024-07-01 15:59:19 +02:00
..
connection_manager.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00
debounced_delay.rs Add debounce for re-querying completion documentation 2024-01-31 09:50:26 -05:00
lsp_command.rs lsp: Revert URL type change (#13193) 2024-06-18 12:39:56 +02:00
lsp_ext_command.rs lsp: Revert URL type change (#13193) 2024-06-18 12:39:56 +02:00
prettier_support.rs paths: Replace lazy_static! with OnceLock (#13213) 2024-06-18 12:22:37 -04:00
project.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00
project_settings.rs Use rust-analyzer from path if possible (#12418) 2024-06-07 06:56:38 +02:00
project_tests.rs util: Use GlobSet in PathMatcher (#13197) 2024-06-18 16:12:24 +02:00
search.rs util: Use GlobSet in PathMatcher (#13197) 2024-06-18 16:12:24 +02:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00
terminals.rs Reconnect button for remote projects (#12669) 2024-06-10 18:09:47 -06:00