|
9306 | 9306 | "editor/context": [ |
9307 | 9307 | { |
9308 | 9308 | "submenu": "gitlens/editor/context/changes", |
9309 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.compare", |
| 9309 | + "when": "editorTextFocus && config.gitlens.menus.editor.compare && resourceScheme != output", |
9310 | 9310 | "group": "2_gitlens@1" |
9311 | 9311 | }, |
9312 | 9312 | { |
9313 | 9313 | "command": "gitlens.openCommitOnRemote", |
9314 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote", |
| 9314 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote && resourceScheme != output", |
9315 | 9315 | "group": "2_gitlens@2", |
9316 | 9316 | "alt": "gitlens.copyRemoteCommitUrl" |
9317 | 9317 | }, |
9318 | 9318 | { |
9319 | 9319 | "command": "gitlens.openFileOnRemote", |
9320 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote", |
| 9320 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote && resourceScheme != output", |
9321 | 9321 | "group": "2_gitlens@3", |
9322 | 9322 | "alt": "gitlens.copyRemoteFileUrlToClipboard" |
9323 | 9323 | }, |
9324 | 9324 | { |
9325 | 9325 | "command": "gitlens.openFileOnRemoteFrom", |
9326 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote", |
| 9326 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /remotes/ && config.gitlens.menus.editor.remote && resourceScheme != output", |
9327 | 9327 | "group": "2_gitlens@4", |
9328 | 9328 | "alt": "gitlens.copyRemoteFileUrlFrom" |
9329 | 9329 | }, |
9330 | 9330 | { |
9331 | 9331 | "command": "gitlens.openFileHistory", |
9332 | | - "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history", |
| 9332 | + "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history && resourceScheme != output", |
9333 | 9333 | "group": "2_gitlens_1@1" |
9334 | 9334 | }, |
9335 | 9335 | { |
9336 | 9336 | "command": "gitlens.quickOpenFileHistory", |
9337 | | - "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history", |
| 9337 | + "when": "gitlens:activeFileStatus =~ /tracked/ && config.gitlens.menus.editor.history && resourceScheme != output", |
9338 | 9338 | "group": "2_gitlens_1@2" |
9339 | 9339 | }, |
9340 | 9340 | { |
9341 | 9341 | "submenu": "gitlens/editor/annotations", |
9342 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame", |
| 9342 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.blame && resourceScheme != output", |
9343 | 9343 | "group": "2_gitlens_2@1" |
9344 | 9344 | } |
9345 | 9345 | ], |
9346 | 9346 | "editor/context/copy": [ |
9347 | 9347 | { |
9348 | 9348 | "command": "gitlens.copyRemoteFileUrlToClipboard", |
9349 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9349 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9350 | 9350 | "group": "1_gitlens@1" |
9351 | 9351 | }, |
9352 | 9352 | { |
9353 | 9353 | "command": "gitlens.copyRemoteFileUrlFrom", |
9354 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9354 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9355 | 9355 | "group": "1_gitlens@2" |
9356 | 9356 | }, |
9357 | 9357 | { |
9358 | 9358 | "command": "gitlens.copyRemoteCommitUrl", |
9359 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9359 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9360 | 9360 | "group": "1_gitlens@3" |
9361 | 9361 | }, |
9362 | 9362 | { |
9363 | 9363 | "command": "gitlens.copyRelativePathToClipboard", |
9364 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9364 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9365 | 9365 | "group": "2_gitlens@1" |
9366 | 9366 | }, |
9367 | 9367 | { |
9368 | 9368 | "command": "gitlens.copyShaToClipboard", |
9369 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9369 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9370 | 9370 | "group": "3_gitlens@1" |
9371 | 9371 | }, |
9372 | 9372 | { |
9373 | 9373 | "command": "gitlens.copyMessageToClipboard", |
9374 | | - "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard", |
| 9374 | + "when": "editorTextFocus && gitlens:activeFileStatus =~ /blameable/ && config.gitlens.menus.editor.clipboard && resourceScheme != output", |
9375 | 9375 | "group": "3_gitlens@2" |
9376 | 9376 | } |
9377 | 9377 | ], |
|
0 commit comments