ZIm/crates/project/src
Piotr Osiewicz 58796a8480
tasks: Expose captured variables to ContextProvider (#12134)
This PR changes the interface of ContextProvider, allowing it to inspect
*all* variables set so far during the process of building
`TaskVariables`. This makes it possible to capture e.g. an identifier in
tree-sitter query, process it and then export it as a task variable.

Notably, the list of variables includes captures prefixed with leading
underscore; they are removed after all calls to `build_context`, but it
makes it possible to capture something and then conditionally preserve
it (and perhaps modify it).

Release Notes:

- N/A
2024-05-22 19:45:43 +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: Use itemDefaults if sent along with completion items (#11902) 2024-05-16 13:26:07 +02:00
lsp_ext_command.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
prettier_support.rs Allow formatting of unsaved buffers with prettier (#12095) 2024-05-22 06:19:32 +02:00
project.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
project_settings.rs Allow to toggle git hunk diffs (#11080) 2024-05-01 22:47:36 +03:00
project_tests.rs Use UpdateGlobal accessors in more places (#11925) 2024-05-16 13:30:04 -04:00
search.rs Implement serialization of assistant conversations, including tool calls and attachments (#11577) 2024-05-08 17:52:15 -04:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
terminals.rs Tidy up the code (#12116) 2024-05-22 14:36:15 +03:00