|
2099 | 2099 | "key": "ctrl+k m", |
2100 | 2100 | "mac": "cmd+k m", |
2101 | 2101 | "command": "pr.makeSuggestion", |
2102 | | - "when": "(commentEditorFocused) && !isSessionsWindow" |
| 2102 | + "when": "commentEditorFocused" |
2103 | 2103 | }, |
2104 | 2104 | { |
2105 | 2105 | "key": "ctrl+r", |
|
3239 | 3239 | { |
3240 | 3240 | "command": "pr.diffOutdatedCommentWithHead", |
3241 | 3241 | "group": "inline@0", |
3242 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /outdated/) && !isSessionsWindow" |
| 3242 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /outdated/" |
3243 | 3243 | }, |
3244 | 3244 | { |
3245 | 3245 | "command": "pr.resolveReviewThread", |
3246 | 3246 | "group": "inline@1", |
3247 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/) && !isSessionsWindow" |
| 3247 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/" |
3248 | 3248 | }, |
3249 | 3249 | { |
3250 | 3250 | "command": "pr.unresolveReviewThreadFromView", |
3251 | 3251 | "group": "inline@1", |
3252 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/) && !isSessionsWindow" |
| 3252 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/" |
3253 | 3253 | }, |
3254 | 3254 | { |
3255 | 3255 | "command": "pr.diffOutdatedCommentWithHead", |
3256 | 3256 | "group": "context@0", |
3257 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /outdated/) && !isSessionsWindow" |
| 3257 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /outdated/" |
3258 | 3258 | }, |
3259 | 3259 | { |
3260 | 3260 | "command": "pr.resolveReviewThread", |
3261 | 3261 | "group": "context@1", |
3262 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/) && !isSessionsWindow" |
| 3262 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/" |
3263 | 3263 | }, |
3264 | 3264 | { |
3265 | 3265 | "command": "pr.unresolveReviewThreadFromView", |
3266 | 3266 | "group": "context@1", |
3267 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/) && !isSessionsWindow" |
| 3267 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/" |
3268 | 3268 | }, |
3269 | 3269 | { |
3270 | 3270 | "command": "pr.applySuggestionWithCopilot", |
3271 | 3271 | "group": "context@2", |
3272 | | - "when": "(commentController =~ /^github-review/ && !config.chat.disableAIFeatures) && !isSessionsWindow" |
| 3272 | + "when": "commentController =~ /^github-review/ && !config.chat.disableAIFeatures" |
3273 | 3273 | } |
3274 | 3274 | ], |
3275 | 3275 | "editor/title": [ |
|
3316 | 3316 | { |
3317 | 3317 | "command": "pr.addFileComment", |
3318 | 3318 | "group": "navigation", |
3319 | | - "when": "((resourceScheme == pr) || (resourcePath in github:viewedFiles) || (resourcePath in github:unviewedFiles)) && !isSessionsWindow" |
| 3319 | + "when": "(resourceScheme == pr) || (resourcePath in github:viewedFiles) || (resourcePath in github:unviewedFiles)" |
3320 | 3320 | } |
3321 | 3321 | ], |
3322 | 3322 | "editor/content": [ |
@@ -3357,137 +3357,137 @@ |
3357 | 3357 | { |
3358 | 3358 | "command": "pr.createComment", |
3359 | 3359 | "group": "inline@1", |
3360 | | - "when": "((commentController =~ /^github-browse/ && prInDraft) || (commentController =~ /^github-review/ && reviewInDraftMode)) && !isSessionsWindow" |
| 3360 | + "when": "(commentController =~ /^github-browse/ && prInDraft) || (commentController =~ /^github-review/ && reviewInDraftMode)" |
3361 | 3361 | }, |
3362 | 3362 | { |
3363 | 3363 | "command": "pr.createSingleComment", |
3364 | 3364 | "group": "inline@1", |
3365 | | - "when": "(config.githubPullRequests.defaultCommentType != review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))) && !isSessionsWindow" |
| 3365 | + "when": "config.githubPullRequests.defaultCommentType != review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))" |
3366 | 3366 | }, |
3367 | 3367 | { |
3368 | 3368 | "command": "pr.startReview", |
3369 | 3369 | "group": "inline@1", |
3370 | | - "when": "(config.githubPullRequests.defaultCommentType == review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))) && !isSessionsWindow" |
| 3370 | + "when": "config.githubPullRequests.defaultCommentType == review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))" |
3371 | 3371 | }, |
3372 | 3372 | { |
3373 | 3373 | "command": "pr.startReview", |
3374 | 3374 | "group": "inline@2", |
3375 | | - "when": "(config.githubPullRequests.defaultCommentType != review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))) && !isSessionsWindow" |
| 3375 | + "when": "config.githubPullRequests.defaultCommentType != review && ((commentController =~ /^github-browse/ && !prInDraft) || (commentController =~ /^github-review/ && !reviewInDraftMode))" |
3376 | 3376 | }, |
3377 | 3377 | { |
3378 | 3378 | "command": "pr.createSingleComment", |
3379 | 3379 | "group": "inline@2", |
3380 | | - "when": "(config.githubPullRequests.defaultCommentType == review && ((commentController =~ /^github-browse/ && !prInDraft) || commentController =~ /^github-review/ && !reviewInDraftMode)) && !isSessionsWindow" |
| 3380 | + "when": "config.githubPullRequests.defaultCommentType == review && ((commentController =~ /^github-browse/ && !prInDraft) || commentController =~ /^github-review/ && !reviewInDraftMode)" |
3381 | 3381 | } |
3382 | 3382 | ], |
3383 | 3383 | "comments/comment/editorActions": [ |
3384 | 3384 | { |
3385 | 3385 | "command": "pr.makeSuggestion", |
3386 | 3386 | "group": "inline@3", |
3387 | | - "when": "(commentController =~ /^github-(browse|review)/ && !github:activeCommentHasSuggestion) && !isSessionsWindow" |
| 3387 | + "when": "commentController =~ /^github-(browse|review)/ && !github:activeCommentHasSuggestion" |
3388 | 3388 | }, |
3389 | 3389 | { |
3390 | 3390 | "command": "pr.uploadFile", |
3391 | 3391 | "group": "inline@4", |
3392 | | - "when": "(commentController =~ /^github-(browse|review)/) && !isSessionsWindow" |
| 3392 | + "when": "commentController =~ /^github-(browse|review)/" |
3393 | 3393 | } |
3394 | 3394 | ], |
3395 | 3395 | "comments/commentThread/additionalActions": [ |
3396 | 3396 | { |
3397 | 3397 | "command": "pr.resolveReviewThread", |
3398 | 3398 | "group": "inline@1", |
3399 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/) && !isSessionsWindow" |
| 3399 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/" |
3400 | 3400 | }, |
3401 | 3401 | { |
3402 | 3402 | "command": "pr.unresolveReviewThread", |
3403 | 3403 | "group": "inline@1", |
3404 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/) && !isSessionsWindow" |
| 3404 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/" |
3405 | 3405 | }, |
3406 | 3406 | { |
3407 | 3407 | "command": "pr.openReview", |
3408 | 3408 | "group": "inline@2", |
3409 | | - "when": "((commentController =~ /^github-browse/ && prInDraft) || (commentController =~ /^github-review/ && reviewInDraftMode)) && !isSessionsWindow" |
| 3409 | + "when": "(commentController =~ /^github-browse/ && prInDraft) || (commentController =~ /^github-review/ && reviewInDraftMode)" |
3410 | 3410 | } |
3411 | 3411 | ], |
3412 | 3412 | "comments/commentThread/title/context": [ |
3413 | 3413 | { |
3414 | 3414 | "command": "pr.resolveReviewThread", |
3415 | 3415 | "group": "inline@3", |
3416 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/) && !isSessionsWindow" |
| 3416 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/" |
3417 | 3417 | }, |
3418 | 3418 | { |
3419 | 3419 | "command": "pr.unresolveReviewThread", |
3420 | 3420 | "group": "inline@3", |
3421 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/) && !isSessionsWindow" |
| 3421 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/" |
3422 | 3422 | } |
3423 | 3423 | ], |
3424 | 3424 | "comments/commentThread/comment/context": [ |
3425 | 3425 | { |
3426 | 3426 | "command": "pr.resolveReviewThread", |
3427 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/) && !isSessionsWindow" |
| 3427 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canResolve/" |
3428 | 3428 | }, |
3429 | 3429 | { |
3430 | 3430 | "command": "pr.unresolveReviewThread", |
3431 | | - "when": "(commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/) && !isSessionsWindow" |
| 3431 | + "when": "commentController =~ /^github-(browse|review)/ && commentThread =~ /canUnresolve/" |
3432 | 3432 | }, |
3433 | 3433 | { |
3434 | 3434 | "command": "pr.applySuggestion", |
3435 | | - "when": "(commentController =~ /^github-review/ && comment =~ /hasSuggestion/) && !isSessionsWindow" |
| 3435 | + "when": "commentController =~ /^github-review/ && comment =~ /hasSuggestion/" |
3436 | 3436 | }, |
3437 | 3437 | { |
3438 | 3438 | "command": "pr.applySuggestionWithCopilot", |
3439 | | - "when": "(commentController =~ /^github-review/ && !config.chat.disableAIFeatures) && !isSessionsWindow" |
| 3439 | + "when": "commentController =~ /^github-review/ && !config.chat.disableAIFeatures" |
3440 | 3440 | } |
3441 | 3441 | ], |
3442 | 3442 | "comments/comment/title": [ |
3443 | 3443 | { |
3444 | 3444 | "command": "pr.applySuggestion", |
3445 | 3445 | "group": "inline@0", |
3446 | | - "when": "(commentController =~ /^github-review/ && comment =~ /hasSuggestion/) && !isSessionsWindow" |
| 3446 | + "when": "commentController =~ /^github-review/ && comment =~ /hasSuggestion/" |
3447 | 3447 | }, |
3448 | 3448 | { |
3449 | 3449 | "command": "pr.applySuggestionWithCopilot", |
3450 | 3450 | "group": "overflow@0", |
3451 | | - "when": "(commentController =~ /^github-review/ && !config.chat.disableAIFeatures) && !isSessionsWindow" |
| 3451 | + "when": "commentController =~ /^github-review/ && !config.chat.disableAIFeatures" |
3452 | 3452 | }, |
3453 | 3453 | { |
3454 | 3454 | "command": "pr.editComment", |
3455 | 3455 | "group": "overflow@1", |
3456 | | - "when": "(commentController =~ /^github-(browse|review)/ && comment =~ /canEdit/) && !isSessionsWindow" |
| 3456 | + "when": "commentController =~ /^github-(browse|review)/ && comment =~ /canEdit/" |
3457 | 3457 | }, |
3458 | 3458 | { |
3459 | 3459 | "command": "pr.deleteComment", |
3460 | 3460 | "group": "overflow@2", |
3461 | | - "when": "(commentController =~ /^github-(browse|review)/ && comment =~ /canDelete/) && !isSessionsWindow" |
| 3461 | + "when": "commentController =~ /^github-(browse|review)/ && comment =~ /canDelete/" |
3462 | 3462 | }, |
3463 | 3463 | { |
3464 | 3464 | "command": "pr.copyCommentLink", |
3465 | 3465 | "group": "overflow@3", |
3466 | | - "when": "(commentController =~ /^github-(browse|review)/ && comment =~ /canEdit/) && !isSessionsWindow" |
| 3466 | + "when": "commentController =~ /^github-(browse|review)/ && comment =~ /canEdit/" |
3467 | 3467 | } |
3468 | 3468 | ], |
3469 | 3469 | "comments/commentThread/title": [ |
3470 | 3470 | { |
3471 | 3471 | "command": "pr.refreshComments", |
3472 | 3472 | "group": "0_refresh@0", |
3473 | | - "when": "(commentController =~ /^github-(browse|review)/) && !isSessionsWindow" |
| 3473 | + "when": "commentController =~ /^github-(browse|review)/" |
3474 | 3474 | }, |
3475 | 3475 | { |
3476 | 3476 | "command": "pr.collapseAllComments", |
3477 | 3477 | "group": "1_collapse@0", |
3478 | | - "when": "(commentController =~ /^github-(browse|review)/) && !isSessionsWindow" |
| 3478 | + "when": "commentController =~ /^github-(browse|review)/" |
3479 | 3479 | } |
3480 | 3480 | ], |
3481 | 3481 | "comments/comment/context": [ |
3482 | 3482 | { |
3483 | 3483 | "command": "pr.saveComment", |
3484 | 3484 | "group": "inline@1", |
3485 | | - "when": "(commentController =~ /^github-(browse|review)/) && !isSessionsWindow" |
| 3485 | + "when": "commentController =~ /^github-(browse|review)/" |
3486 | 3486 | }, |
3487 | 3487 | { |
3488 | 3488 | "command": "pr.cancelEditComment", |
3489 | 3489 | "group": "inline@2", |
3490 | | - "when": "(commentController =~ /^github-(browse|review)/) && !isSessionsWindow" |
| 3490 | + "when": "commentController =~ /^github-(browse|review)/" |
3491 | 3491 | } |
3492 | 3492 | ], |
3493 | 3493 | "editor/context/copy": [ |
|
0 commit comments