extensions: Add "Debug Adapters" category to the extension store (#32845)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-06-17 12:09:08 +02:00 committed by GitHub
parent b13144eb1f
commit 6ad9a66cf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 46 additions and 9 deletions

View file

@ -1430,14 +1430,27 @@ impl Render for DebugPanel {
),
)
.child(
h_flex().flex_shrink().child(
Button::new("spawn-new-session-empty-state", "New Session")
.size(ButtonSize::Large)
.on_click(|_, window, cx| {
window.dispatch_action(crate::Start.boxed_clone(), cx);
}),
),
),
v_flex().gap_4().items_center()
.justify_center()
.child(
h_flex().flex_shrink().child(
Button::new("spawn-new-session-empty-state", "New Session")
.size(ButtonSize::Large)
.on_click(|_, window, cx| {
window.dispatch_action(crate::Start.boxed_clone(), cx);
})
)
)
.child(
h_flex().flex_shrink().child(
Button::new("spawn-new-session-install-extensions", "Install Debug Extensions")
.label_size(LabelSize::Small)
.on_click(|_, window, cx| {
window.dispatch_action(zed_actions::Extensions { category_filter: Some(zed_actions::ExtensionCategoryFilter::DebugAdapters)}.boxed_clone(), cx);
})
)
)
)
)
}
})