_gitlens@1" }, { "submenu": "gitlens/editor/lineNumber/context/openOn", "when": "gitlens:repos:withRemotes && config.gitlens.menus.editorGutter.remote && resourceScheme in gitlens:schemes:trackable", "group": "3_gitlens@2" } ], "editor/title": [ { "command": "gitlens.openPatch", "when": "false && editorLangId == diff" }, { "command": "gitlens.diffWithWorking", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && !isInDiffEditor", "group": "navigation@-99" }, { "command": "gitlens.diffWithWorkingInDiffLeft", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@-99" }, { "command": "gitlens.diffWithWorkingInDiffRight", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffRightEditor", "group": "navigation@-99" }, { "command": "gitlens.openWorkingFile", "when": "gitlens:enabled && resourceScheme == git && !isInDiffEditor", "group": "navigation@-98" }, { "command": "gitlens.openWorkingFile", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && !isInDiffEditor", "group": "navigation@-98" }, { "command": "gitlens.openWorkingFileInDiffLeft", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@-98" }, { "command": "gitlens.openWorkingFileInDiffRight", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffRightEditor", "group": "navigation@-98" }, { "command": "gitlens.openRevisionFileInDiffLeft", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@-97" }, { "command": "gitlens.openRevisionFileInDiffRight", "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ && isInDiffRightEditor", "group": "navigation@-97" }, { "command": "gitlens.diffWithPrevious", "alt": "gitlens.diffWithRevision", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && !isInDiffEditor", "group": "navigation@97" }, { "command": "gitlens.diffWithPreviousInDiffLeft", "alt": "gitlens.diffWithRevision", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@97" }, { "command": "gitlens.diffWithPreviousInDiffRight", "alt": "gitlens.diffWithRevision", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor", "group": "navigation@97" }, { "command": "gitlens.showQuickRevisionDetails", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && !isInDiffEditor", "group": "navigation@98" }, { "command": "gitlens.showQuickRevisionDetailsInDiffLeft", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@98" }, { "command": "gitlens.showQuickRevisionDetailsInDiffRight", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor", "group": "navigation@98" }, { "command": "gitlens.diffWithNext", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && !isInDiffEditor", "group": "navigation@99" }, { "command": "gitlens.diffWithNextInDiffLeft", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffEditor && !isInDiffRightEditor", "group": "navigation@99" }, { "command": "gitlens.diffWithNextInDiffRight", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editorGroup.compare && isInDiffRightEditor", "group": "navigation@99" }, { "command": "gitlens.toggleFileBlame", "when": "config.gitlens.fileAnnotations.command == blame && resource in gitlens:tabs:blameable && resource not in gitlens:tabs:annotated && config.gitlens.menus.editorGroup.blame", "group": "navigation@100", "alt": "gitlens.toggleFileHeatmap" }, { "command": "gitlens.toggleFileHeatmap", "when": "config.gitlens.fileAnnotations.command == heatmap && resource in gitlens:tabs:blameable && resource not in gitlens:tabs:annotated && config.gitlens.menus.editorGroup.blame", "group": "navigation@100", "alt": "gitlens.toggleFileBlame" }, { "command": "gitlens.toggleFileChanges", "when": "config.gitlens.fileAnnotations.command == changes && resource in gitlens:tabs:blameable && !gitlens:hasVirtualFolders && resource not in gitlens:tabs:annotated && config.gitlens.menus.editorGroup.blame", "group": "navigation@100", "alt": "gitlens.toggleFileBlame" }, { "submenu": "gitlens/editor/annotations", "when": "!config.gitlens.fileAnnotations.command && resource in gitlens:tabs:blameable && !gitlens:window:annotated && resource not in gitlens:tabs:annotated && config.gitlens.menus.editorGroup.blame", "group": "navigation@100" }, { "command": "gitlens.computingFileAnnotations", "when": "resource in gitlens:tabs:blameable && (gitlens:window:annotated == computing || resource in gitlens:tabs:annotated:computing) && config.gitlens.menus.editorGroup.blame", "group": "navigation@100" }, { "command": "gitlens.clearFileAnnotations", "when": "resource in gitlens:tabs:blameable && (gitlens:window:annotated == computed || (resource in gitlens:tabs:annotated && resource not in gitlens:tabs:annotated:computing)) && config.gitlens.menus.editorGroup.blame", "group": "navigation@100" }, { "command": "gitlens.timeline.refresh", "when": "activeWebviewPanelId === gitlens.timeline", "group": "navigation@-99" }, { "command": "gitlens.graph.refresh", "when": "activeWebviewPanelId === gitlens.graph", "group": "navigation@-99" }, { "submenu": "gitlens/graph/configuration", "when": "activeWebviewPanelId === gitlens.graph", "group": "navigation@-98" }, { "command": "gitlens.graph.split", "when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.graph && config.gitlens.graph.allowMultiple", "group": "navigation@-97" }, { "command": "gitlens.timeline.split", "when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.timeline && config.gitlens.visualHistory.allowMultiple", "group": "navigation@-97" } ], "editor/title/context": [ { "command": "gitlens.copyRemoteFileUrlWithoutRange", "when": "gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.editorTab.clipboard && resourceScheme in gitlens:schemes:trackable", "group": "1_cutcopypaste@100" }, { "command": "gitlens.copyRemoteFileUrlFrom", "when": "gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.editorTab.clipboard && resourceScheme in gitlens:schemes:trackable", "group": "1_cutcopypaste@101" }, { "command": "gitlens.openWorkingFile", "when": "resourceScheme == gitlens && resourceScheme in gitlens:schemes:trackable", "group": "2_a_gitlens@0" }, { "submenu": "gitlens/editor/changes", "when": "gitlens:enabled && config.gitlens.menus.editorTab.compare && resourceScheme in gitlens:schemes:trackable", "group": "2_a_gitlens_open@1" }, { "submenu": "gitlens/editor/openOn", "when": "gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.editorTab.remote && resourceScheme in gitlens:schemes:trackable", "group": "2_a_gitlens_open@2" }, { "submenu": "gitlens/editor/history", "when": "gitlens:enabled && config.gitlens.menus.editorTab.history && resourceScheme in gitlens:schemes:trackable", "group": "2_a_gitlens_open_file@1" }, { "command": "gitlens.graph.split", "when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.graph && config.gitlens.graph.allowMultiple", "group": "6_split_in_group_gitlens@2" }, { "command": "gitlens.timeline.split", "when": "resourceScheme == webview-panel && activeWebviewPanelId === gitlens.timeline && config.gitlens.visualHistory.allowMultiple", "group": "6_split_in_group_gitlens@2" } ], "explorer/context": [ { "submenu": "gitlens/explorer/changes", "when": "!explorerResourceIsRoot && gitlens:enabled && config.gitlens.menus.explorer.compare", "group": "4_t_gitlens@0" }, { "submenu": "gitlens/explorer/openOn", "when": "!explorerResourceIsRoot && gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.explorer.remote", "group": "4_t_gitlens@1" }, { "submenu": "gitlens/explorer/history", "when": "gitlens:enabled && config.gitlens.menus.explorer.history", "group": "4_timeline@0" }, { "command": "gitlens.copyRemoteFileUrlWithoutRange", "when": "!explorerResourceIsRoot && gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.explorer.clipboard", "group": "6_copypath@100" }, { "command": "gitlens.copyRemoteFileUrlFrom", "when": "!explorerResourceIsRoot && gitlens:enabled && gitlens:repos:withRemotes && config.gitlens.menus.explorer.clipboard", "group": "6_copypath@101" } ], "extension/context": [ { "command": "gitlens.getStarted", "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed", "group": "9_gitlens@1" }, { "command": "gitlens.showWelcomePage", "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed", "group": "9_gitlens@2" }, { "command": "gitlens.showSettingsPage", "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed", "group": "9_gitlens@3" } ], "git.commit": [ { "command": "gitlens.addAuthors", "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && config.gitlens.menus.scmRepository.authors", "group": "4_gitlens@1" }, { "command": "gitlens.copyPatchToClipboard", "when": "gitlens:enabled && scmProvider == git && config.gitlens.menus.scmRepository.patch", "group": "4_gitlens@2" }, { "command": "gitlens.shareAsCloudPatch", "when": "gitlens:enabled && scmProvider == git && config.gitlens.menus.scmRepository.patch", "group": "4_gitlens@3" }, { "command": "gitlens.generateCommitMessage", "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage", "group": "4_gitlens@4" } ], "menuBar/edit/copy": [ { "command": "gitlens.copyRemoteFileUrlToClipboard", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editor.clipboard", "group": "1_gitlens@1" }, { "command": "gitlens.copyRemoteFileUrlFrom", "when": "resource in gitlens:tabs:tracked && config.gitlens.menus.editor.clipboard", "group": "1_gitlens@2" } ], "scm/sourceControl": [ { "command": "gitlens.showGraph", "when": "gitlens:enabled && config.gitlens.menus.scm.graph && gitlens:plus:enabled && scmProvider == git && scmProviderRootUri not in gitlens:plus:disallowedRepos", "group": "6_gitlens@1" } ], "scm/title": [ { "command": "gitlens.stashSave", "when": "gitlens:enabled && config.gitlens.menus.scmRepositoryInline.stash && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && scmProvider == git", "group": "navigation@-1001" }, { "command": "gitlens.showGr