diff --git a/packages/core/src/node/context.ts b/packages/core/src/node/context.ts index b8c613d6..b676f9de 100644 --- a/packages/core/src/node/context.ts +++ b/packages/core/src/node/context.ts @@ -119,6 +119,7 @@ export async function createDevToolsContext( icon: 'ph:pencil-duotone', category: 'editor', showInPalette: false, + allowShortcuts: false, handler: (path: string) => rpcHost.invokeLocal('vite:core:open-in-editor', path), }) context.commands.register({ @@ -127,6 +128,7 @@ export async function createDevToolsContext( icon: 'ph:folder-open-duotone', category: 'editor', showInPalette: false, + allowShortcuts: false, handler: (path: string) => rpcHost.invokeLocal('vite:core:open-in-finder', path), })