Files
oak-gpui/crates
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
..
2024-05-10 15:50:20 -06:00
2024-05-22 14:36:15 +03:00
2024-05-21 10:34:35 -04:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-05-10 15:50:20 -06:00
2024-05-22 14:36:15 +03:00
2024-04-30 23:31:59 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-05-09 21:08:49 -06:00
2024-05-22 14:36:15 +03:00
2024-05-22 14:36:15 +03:00
2024-05-05 15:02:50 +02:00
2024-04-15 14:21:52 +02:00
2024-05-16 16:55:54 -04:00
2024-05-03 12:50:42 -07:00
2024-05-22 11:26:58 -04:00