fix(command): register remaining interactive commands for autocomplete
ARRAY3D/3DARRAY, ATTEDIT/ATE, DDEDIT/ED and WIPEOUT/WO dispatched on literal matches but had no CommandRegistration entry, so none surfaced in command-line autocomplete. Add the inventory submit in each command's module, matching the convention used by the other interactive commands. Audit confirms no remaining active_cmd dispatch lacks a registration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
895937913f
commit
5673612047
4 changed files with 12 additions and 0 deletions
|
|
@ -64,3 +64,6 @@ impl CadCommand for DdeditCommand {
|
|||
CmdResult::Cancel
|
||||
}
|
||||
}
|
||||
|
||||
// ── Autocomplete registry ─────────────────────────────────
|
||||
inventory::submit!(crate::command::CommandRegistration { names: &["DDEDIT", "ED"] });
|
||||
|
|
|
|||
|
|
@ -183,3 +183,6 @@ fn make_poly_wipeout(pts: &[Vec3]) -> EntityType {
|
|||
.collect();
|
||||
EntityType::Wipeout(Wipeout::polygonal(&verts, z))
|
||||
}
|
||||
|
||||
// ── Autocomplete registry ─────────────────────────────────
|
||||
inventory::submit!(crate::command::CommandRegistration { names: &["WIPEOUT", "WO"] });
|
||||
|
|
|
|||
|
|
@ -1029,3 +1029,6 @@ impl CadCommand for Array3DCommand {
|
|||
vec![]
|
||||
}
|
||||
}
|
||||
|
||||
// ── Autocomplete registry ─────────────────────────────────
|
||||
inventory::submit!(crate::command::CommandRegistration { names: &["ARRAY3D", "3DARRAY"] });
|
||||
|
|
|
|||
|
|
@ -176,3 +176,6 @@ pub fn apply_attedit(doc: &mut acadrust::CadDocument, handle: acadrust::Handle,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Autocomplete registry ─────────────────────────────────
|
||||
inventory::submit!(crate::command::CommandRegistration { names: &["ATTEDIT", "ATE"] });
|
||||
|
|
|
|||
Loading…
Reference in a new issue