assistant2: Wire up the directory context picker (#22582)
This PR wires up the functionality of the directory context picker. Release Notes: - N/A --------- Co-authored-by: Agus <agus@zed.dev>
This commit is contained in:
parent
3cf5ab16a9
commit
2c2ca9e370
5 changed files with 75 additions and 20 deletions
|
@ -316,7 +316,10 @@ impl PickerDelegate for FileContextPickerDelegate {
|
|||
}
|
||||
}
|
||||
|
||||
fn codeblock_fence_for_path(path: Option<&Path>, row_range: Option<RangeInclusive<u32>>) -> String {
|
||||
pub(crate) fn codeblock_fence_for_path(
|
||||
path: Option<&Path>,
|
||||
row_range: Option<RangeInclusive<u32>>,
|
||||
) -> String {
|
||||
let mut text = String::new();
|
||||
write!(text, "```").unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue