-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)
Description
I'm trying to author an SCM extension where the context menus depend on the SourceControlResourceGroup.
The problem is that the when clause documentation for triggering is hard to find / unavailable.
I understand that I can set my own context values, at least on the API level; how do I set them on the resourceState level?
"scm/resourceState/context" : [
{
"when": "scmProvider == mine && scmResourceState == something"
}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)