ZIm/crates/project/src
Kirill Bulatov db48c75231
Add basic bash and Python tasks (#10548)
Part of https://github.com/zed-industries/zed/issues/5141

* adds "run selection" and "run file" tasks for bash and Python.
* replaces newlines with `\n` symbols in the human-readable task labels
* properly escapes task command arguments when spawning the task in
terminal

Caveats:

* bash tasks will always use user's default shell to spawn the
selections, but they should rather respect the shebang line even if it's
not selected
* Python tasks will always use `python3` to spawn its tasks now, as
there's no proper mechanism in Zed to deal with different Python
executables

Release Notes:

- Added tasks for bash and Python to execute selections and open files
in terminal
2024-04-15 16:07:21 +03: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 Respect language server's capabilities when calling GetReferences (#10285) 2024-04-08 13:38:32 -04:00
lsp_ext_command.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
prettier_support.rs Improve handling of prettier errors on format (#10156) 2024-04-04 11:41:55 +02:00
project.rs Inline git blame (#10398) 2024-04-15 14:21:52 +02:00
project_settings.rs Inline git blame (#10398) 2024-04-15 14:21:52 +02:00
project_tests.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
search.rs Support newline and tab literals in regex search-and-replace operations (#9609) 2024-03-25 12:21:04 +01:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs Add basic bash and Python tasks (#10548) 2024-04-15 16:07:21 +03:00
terminals.rs Add basic bash and Python tasks (#10548) 2024-04-15 16:07:21 +03:00