assistant2: Add support for referencing symbols as context (#27513)
TODO Release Notes: - N/A
This commit is contained in:
parent
da47013e56
commit
a916bbf00c
9 changed files with 838 additions and 20 deletions
|
@ -190,9 +190,10 @@ impl RenderOnce for ContextPill {
|
|||
.child(
|
||||
Label::new(match kind {
|
||||
ContextKind::File => "Active Tab",
|
||||
ContextKind::Thread | ContextKind::Directory | ContextKind::FetchedUrl => {
|
||||
"Active"
|
||||
}
|
||||
ContextKind::Thread
|
||||
| ContextKind::Directory
|
||||
| ContextKind::FetchedUrl
|
||||
| ContextKind::Symbol => "Active",
|
||||
})
|
||||
.size(LabelSize::XSmall)
|
||||
.color(Color::Muted),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue