Introduce code generation (#2901)
 Release Notes: - Added a new "Inline Assist" feature that lets you transform a selection or generate new code at the cursor location by hitting `ctrl-enter`.
This commit is contained in:
commit
ea17d1638e
16 changed files with 2043 additions and 274 deletions
|
@ -264,8 +264,9 @@ pub fn initialize_workspace(
|
|||
toolbar.add_item(breadcrumbs, cx);
|
||||
let buffer_search_bar = cx.add_view(BufferSearchBar::new);
|
||||
toolbar.add_item(buffer_search_bar.clone(), cx);
|
||||
let quick_action_bar =
|
||||
cx.add_view(|_| QuickActionBar::new(buffer_search_bar));
|
||||
let quick_action_bar = cx.add_view(|_| {
|
||||
QuickActionBar::new(buffer_search_bar, workspace)
|
||||
});
|
||||
toolbar.add_item(quick_action_bar, cx);
|
||||
let project_search_bar = cx.add_view(|_| ProjectSearchBar::new());
|
||||
toolbar.add_item(project_search_bar, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue