Skip to content

Commit 9b57a2b

Browse files
authored
Documentation for keyboard shortcut context keys available (#6684)
Fixes #6677
1 parent b3206ec commit 9b57a2b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/common/executeCommands.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
import * as vscode from 'vscode';
77

88
export namespace contexts {
9-
export const VIEWED_FILES = 'github:viewedFiles';
10-
export const UNVIEWED_FILES = 'github:unviewedFiles';
11-
export const IN_REVIEW_MODE = 'github:inReviewMode';
12-
export const REPOS_NOT_IN_REVIEW_MODE = 'github:reposNotInReviewMode';
13-
export const REPOS_IN_REVIEW_MODE = 'github:reposInReviewMode';
14-
export const ACTIVE_PR_COUNT = 'github:activePRCount';
9+
export const VIEWED_FILES = 'github:viewedFiles'; // Array of file paths for viewed files
10+
export const UNVIEWED_FILES = 'github:unviewedFiles'; // Array of file paths for unviewed files
11+
export const IN_REVIEW_MODE = 'github:inReviewMode'; // Boolean indicating if the extension is currently in "review mode" (has a non-ignored PR checked out)
12+
export const REPOS_NOT_IN_REVIEW_MODE = 'github:reposNotInReviewMode'; // Array of URIs for repos that are not in review mode
13+
export const REPOS_IN_REVIEW_MODE = 'github:reposInReviewMode'; // Array of URIs for repos that are in review mode
14+
export const ACTIVE_PR_COUNT = 'github:activePRCount'; // Number of PRs that are currently checked out
1515
export const LOADING_PRS_TREE = 'github:loadingPrsTree';
1616
export const LOADING_ISSUES_TREE = 'github:loadingIssuesTree';
1717
export const CREATE_PR_PERMISSIONS = 'github:createPrPermissions';
1818
export const RESOLVING_CONFLICTS = 'github:resolvingConflicts';
19-
export const PULL_REQUEST_DESCRIPTION_VISIBLE = 'github:pullRequestDescriptionVisible';
20-
export const ACTIVE_COMMENT_HAS_SUGGESTION = 'github:activeCommentHasSuggestion';
19+
export const PULL_REQUEST_DESCRIPTION_VISIBLE = 'github:pullRequestDescriptionVisible'; // Boolean indicating if the pull request description is visible
20+
export const ACTIVE_COMMENT_HAS_SUGGESTION = 'github:activeCommentHasSuggestion'; // Boolean indicating if the active comment has a suggestion
2121
export const CREATING = 'pr:creating';
2222
}
2323

0 commit comments

Comments
 (0)