From 7e807379d4f6092d381d3403c385b2d4596692e6 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 2 Jul 2025 13:40:41 -0400 Subject: [WARP] Make plugin commands more discoverable Removing the nesting because we now scope view plugin commands out of the context menu --- plugins/warp/src/plugin.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/warp/src/plugin.rs') diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs index f8c4c0c5..3380c619 100644 --- a/plugins/warp/src/plugin.rs +++ b/plugins/warp/src/plugin.rs @@ -67,18 +67,21 @@ pub extern "C" fn CorePluginInit() -> bool { workflow::RunMatcher {}, ); + #[cfg(debug_assertions)] register_command( "WARP\\Debug\\Cache", "Debug cache sizes... because...", debug::DebugCache {}, ); + #[cfg(debug_assertions)] register_command( "WARP\\Debug\\Invalidate Caches", "Invalidate all WARP caches", debug::DebugInvalidateCache {}, ); + #[cfg(debug_assertions)] register_command_for_function( "WARP\\Debug\\Function Signature", "Print the entire signature for the function", @@ -92,19 +95,19 @@ pub extern "C" fn CorePluginInit() -> bool { ); register_command_for_function( - "WARP\\Function\\Include", + "WARP\\Include Function", "Add current function to the list of functions to add to the signature file", function::IncludeFunction {}, ); register_command_for_function( - "WARP\\Function\\Copy GUID", + "WARP\\Copy GUID", "Copy the computed GUID for the function", function::CopyFunctionGUID {}, ); register_command( - "WARP\\Function\\Find GUID", + "WARP\\Find GUID", "Locate the function in the view using a GUID", function::FindFunctionFromGUID {}, ); -- cgit v1.3.1