returnTPromise.wrapError(newError(nls.localize({key:'error.invalidformat',comment:['{0} will be replaced by a path. Values in quotes should not be translated.']},"Problem parsing JSON theme file: {0}. Expecting 'syntaxTokens' and 'colors'.")));
returnTPromise.wrapError(newError(nls.localize({key:'error.invalidformat',comment:['{0} will be replaced by a path. Values in quotes should not be translated.']},"Problem parsing JSON theme file: {0}. Expecting 'tokenColors' and 'colors'.",themePath)));
}
if(contentValue.syntaxTokens){
resultRules.push(...contentValue.syntaxTokens);
if(contentValue.tokenColors){
resultRules.push(...contentValue.tokenColors);
}
if(contentValue.colors){
for(letcolorIdincontentValue.colors){
...
...
@@ -126,11 +138,12 @@ function _loadThemeDocument(baseTheme: string, themePath: string, resultRules: I
if(!Array.isArray(settings)){
returnTPromise.wrapError(newError(nls.localize('error.plist.invalidformat',"Problem parsing theme file: {0}. 'settings' is not array.")));