Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/extension/parser/symbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export const QueryNodeImpliesPullRequestSchema = new Set<string>([
'review',
'reviewed-by',
'team-review-requested',
'user-review-requested',
'merged',
]);

Expand Down Expand Up @@ -209,6 +210,7 @@ export const QualifiedValueNodeSchema = new Map<string, QualifiedValueInfo>([
['involves', QualifiedValueInfo.username(RepeatInfo.Repeat, 'Issues and pull requests that in some way involve a user. The involves qualifier is a logical OR between the author, assignee, mentions, and commenter qualifiers for a single user')],
['review-requested', QualifiedValueInfo.username(undefined, 'Pull requests where a specific user is requested for review')],
['reviewed-by', QualifiedValueInfo.username(undefined, 'Pull requests reviewed by a particular user')],
['user-review-requested', QualifiedValueInfo.username(undefined, 'Pull requests where a specific user is directly requested for review')],
// simple value
['closed', QualifiedValueInfo.simple(ValueType.Date, 'Issues and pull requests based on when they were closed')],
['created', QualifiedValueInfo.simple(ValueType.Date, 'Issues and pull requests based on when they were created')],
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/github-issues.tmGrammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
{
"name": "keyword.other",
"match": "\\b(type|updated|in|org|repo|user|state|assignee|author|mentions|team|stars|topics|pushed|size|commenter|involves|label|linked|milestone|project|language|comments|interactions|reactions|created|closed|archived|is|no|status|base|head|draft|reason|review-requested|review|reviewed-by|team-review-requested|merged)\\b"
"match": "\\b(type|updated|in|org|repo|user|state|assignee|author|mentions|team|stars|topics|pushed|size|commenter|involves|label|linked|milestone|project|language|comments|interactions|reactions|created|closed|archived|is|no|status|base|head|draft|reason|review-requested|review|reviewed-by|team-review-requested|user-review-requested|merged)\\b"
}
]
}