Support scmResourceState in when clauses

fixes #86180

* Adds `contextValue?: string` to the SourceControlResourceState
* Allows when clause in scm/resourceState/context menus to use scmResourceState
This commit is contained in:
mjcrouch
2020-02-18 23:03:03 +00:00
committed by mjcrouch
parent 69e0508b63
commit 11f523c6d7
7 changed files with 69 additions and 19 deletions

View File

@@ -715,7 +715,8 @@ export type SCMRawResource = [
UriComponents[] /*icons: light, dark*/,
string /*tooltip*/,
boolean /*strike through*/,
boolean /*faded*/
boolean /*faded*/,
string /*context value*/
];
export type SCMRawResourceSplice = [