diff --git a/cursorless-talon/src/apps/cursorless_vscode.py b/cursorless-talon/src/apps/cursorless_vscode.py index 63c20daa94..0473c0d6b7 100644 --- a/cursorless-talon/src/apps/cursorless_vscode.py +++ b/cursorless-talon/src/apps/cursorless_vscode.py @@ -4,6 +4,9 @@ ctx.matches = r""" app: vscode +# Disable Cursorless when VS Code is displaying a native OS dialog during which the command server +# hotkey will not work. +not win.title: /^(Open Folder|Open File|Save As|Open Workspace from File|Add Folder to Workspace|Save Workspace)$/i """ ctx.tags = ["user.cursorless"]