acp: Rename dev command (#36908)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2025-08-25 16:04:44 -06:00 committed by GitHub
parent 65de969cc8
commit 1460573dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -21,12 +21,12 @@ use ui::prelude::*;
use util::ResultExt as _; use util::ResultExt as _;
use workspace::{Item, Workspace}; use workspace::{Item, Workspace};
actions!(acp, [OpenDebugTools]); actions!(dev, [OpenAcpLogs]);
pub fn init(cx: &mut App) { pub fn init(cx: &mut App) {
cx.observe_new( cx.observe_new(
|workspace: &mut Workspace, _window, _cx: &mut Context<Workspace>| { |workspace: &mut Workspace, _window, _cx: &mut Context<Workspace>| {
workspace.register_action(|workspace, _: &OpenDebugTools, window, cx| { workspace.register_action(|workspace, _: &OpenAcpLogs, window, cx| {
let acp_tools = let acp_tools =
Box::new(cx.new(|cx| AcpTools::new(workspace.project().clone(), cx))); Box::new(cx.new(|cx| AcpTools::new(workspace.project().clone(), cx)));
workspace.add_item_to_active_pane(acp_tools, None, true, window, cx); workspace.add_item_to_active_pane(acp_tools, None, true, window, cx);

View file

@ -4434,7 +4434,6 @@ mod tests {
assert_eq!(actions_without_namespace, Vec::<&str>::new()); assert_eq!(actions_without_namespace, Vec::<&str>::new());
let expected_namespaces = vec![ let expected_namespaces = vec![
"acp",
"activity_indicator", "activity_indicator",
"agent", "agent",
#[cfg(not(target_os = "macos"))] #[cfg(not(target_os = "macos"))]