Skip to content

Visual Studio Code, rebuilt in Rust

Rust

fix(menus): count the merged API_MENUS entries

rokartur062f23967dd6
diff --git a/native/crates/app/src/menus.rs b/native/crates/app/src/menus.rs
index b0b67f998f7..a785ab93325 100644
--- a/native/crates/app/src/menus.rs
+++ b/native/crates/app/src/menus.rs
@@ -980,7 +980,7 @@ pub fn workbench_menus() -> Vec<MenuItem> {
/// menusExtensionPoint.ts `apiMenus`: the `contributes.menus` keys of the menus the port shows. `commandPalette`
/// is read by `command_palette::menu`.
-const API_MENUS: [(&str, MenuId); 60] = [
+const API_MENUS: [(&str, MenuId); 61] = [
("file/newFile", MenuId::NewFile),
("editor/context", MenuId::EditorContext),
("explorer/context", MenuId::ExplorerContext),