"command": "gitlens.diffDirectoryWithHead", "when": "gitlens:enabled && !gitlens:hasVirtualFolders" }, { "command": "gitlens.diffWithNext", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/ && !isInDiffEditor" }, { "command": "gitlens.diffWithNextInDiffLeft", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/ && isInDiffEditor && !isInDiffRightEditor" }, { "command": "gitlens.diffWithNextInDiffRight", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/ && isInDiffRightEditor" }, { "command": "gitlens.diffWithPrevious", "when": "resource in gitlens:tabs:tracked && !isInDiffEditor" }, { "command": "gitlens.diffWithPreviousInDiffLeft", "when": "resource in gitlens:tabs:tracked && isInDiffEditor && !isInDiffRightEditor" }, { "command": "gitlens.diffWithPreviousInDiffRight", "when": "resource in gitlens:tabs:tracked && isInDiffRightEditor" }, { "command": "gitlens.diffLineWithPrevious", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.diffFolderWithRevision", "when": "gitlens:enabled && !gitlens:hasVirtualFolders" }, { "command": "gitlens.diffFolderWithRevisionFrom", "when": "gitlens:enabled && !gitlens:hasVirtualFolders" }, { "command": "gitlens.diffWithRevision", "when": "resource in gitlens:tabs:tracked" }, { "command": "gitlens.diffWithRevisionFrom", "when": "resource in gitlens:tabs:tracked" }, { "command": "gitlens.diffWithWorking", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/" }, { "command": "gitlens.diffWithWorkingInDiffLeft", "when": "false" }, { "command": "gitlens.diffWithWorkingInDiffRight", "when": "false" }, { "command": "gitlens.diffLineWithWorking", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.disableRebaseEditor", "when": "gitlens:enabled" }, { "command": "gitlens.enableRebaseEditor", "when": "gitlens:enabled" }, { "command": "gitlens.externalDiff", "when": "!gitlens:hasVirtualFolders && resource in gitlens:tabs:tracked" }, { "command": "gitlens.externalDiffAll", "when": "gitlens:enabled && !gitlens:hasVirtualFolders" }, { "command": "gitlens.toggleFileBlame", "when": "resource in gitlens:tabs:blameable || config.gitlens.blame.toggleMode == window" }, { "command": "gitlens.toggleFileBlameInDiffLeft", "when": "false" }, { "command": "gitlens.toggleFileBlameInDiffRight", "when": "false" }, { "command": "gitlens.annotations.nextChange", "when": "false" }, { "command": "gitlens.annotations.previousChange", "when": "false" }, { "command": "gitlens.clearFileAnnotations", "when": "resource in gitlens:tabs:blameable && (gitlens:window:annotated || resource in gitlens:tabs:annotated)" }, { "command": "gitlens.computingFileAnnotations", "when": "false" }, { "command": "gitlens.toggleFileHeatmap", "when": "resource in gitlens:tabs:blameable || config.gitlens.heatmap.toggleMode == window" }, { "command": "gitlens.toggleFileHeatmapInDiffLeft", "when": "false" }, { "command": "gitlens.toggleFileHeatmapInDiffRight", "when": "false" }, { "command": "gitlens.toggleFileChanges", "when": "(resource in gitlens:tabs:blameable || config.gitlens.changes.toggleMode == window) && !gitlens:hasVirtualFolders" }, { "command": "gitlens.toggleFileChangesOnly", "when": "false" }, { "command": "gitlens.toggleLineBlame", "when": "!gitlens:disabled" }, { "command": "gitlens.toggleCodeLens", "when": "!gitlens:disabled && !gitlens:disabledToggleCodeLens" }, { "command": "gitlens.gitCommands", "when": "!gitlens:disabled" }, { "command": "gitlens.gitCommands.branch", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.branch.create", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.branch.delete", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.branch.prune", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.branch.rename", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.checkout", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.cherryPick", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.history", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.merge", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.rebase", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.remote", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.remote.add", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.remote.prune", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.remote.remove", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.reset", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.revert", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.show", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash.drop", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash.list", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash.pop", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash.push", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.stash.rename", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.status", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.switch", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.tag", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.tag.create", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.tag.delete", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.worktree", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.worktree.create", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.worktree.delete", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.gitCommands.worktree.open", "when": "!gitlens:disabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.switchAIModel", "when": "gitlens:enabled && gitlens:gk:organization:ai:enabled" }, { "command": "gitlens.switchMode", "when": "gitlens:enabled" }, { "command": "gitlens.toggleReviewMode", "when": "gitlens:enabled" }, { "command": "gitlens.toggleZenMode", "when": "gitlens:enabled" }, { "command": "gitlens.showCommitSearch", "when": "gitlens:enabled" }, { "command": "gitlens.showLastQuickPick", "when": "gitlens:enabled" }, { "command": "gitlens.revealCommitInView", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.showCommitInView", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.showInDetailsView", "when": "false" }, { "command": "gitlens.showCommitsInView", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.showFileHistoryInView", "when": "false" }, { "command": "gitlens.openFileHistory", "when": "resource in gitlens:tabs:tracked" }, { "command": "gitlens.openFolderHistory", "when": "false" }, { "command": "gitlens.showQuickCommitDetails", "when": "false" }, { "command": "gitlens.showLineCommitInView", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.showQuickCommitFileDetails", "when": "resource in gitlens:tabs:blameable" }, { "command": "gitlens.showQuickRevisionDetails", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/" }, { "command": "gitlens.showQuickRevisionDetailsInDiffLeft", "when": "false" }, { "command": "gitlens.showQuickRevisionDetailsInDiffRight", "when": "false" }, { "command": "gitlens.showQuickFileHistory", "when": "resource in gitlens:tabs:tracked" }, { "command": "gitlens.quickOpenFileHistory", "when": "resource in gitlens:tabs:tracked" }, { "command": "gitlens.showQuickBranchHistory", "when": "gitlens:enabled" }, { "command": "gitlens.showQuickRepoHistory", "when": "gitlens:enabled" }, { "command": "gitlens.showQuickRepoStatus", "when": "gitlens:enabled" }, { "command": "gitlens.showQuickStashList", "when": "gitlens:enabled" }, { "command": "gitlens.addAuthors", "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" }, { "command": "gitlens.connectRemoteProvider", "when": "config.gitlens.integrations.enabled && gitlens:repos:withHostingIntegrations && !gitlens:repos:withHostingIntegrationsConnected"