From 24dfa08f6f1d8a1159e4fc3fab45db9ab8a41b44 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Wed, 6 Apr 2016 16:39:00 +0200 Subject: [PATCH] Theme tests as extension test --- .../java/test/colorize-fixtures/basic.java | 38 + .../test/colorize-results/basic_java.json | 1883 +++++++++++++++++ extensions/json/.vscode/launch.json | 13 +- .../json/test/colorize-fixtures/test.json | 14 + .../json/test/colorize-results/test_json.json | 1157 ++++++++++ extensions/vscode-colorize-tests/.gitignore | 2 + .../vscode-colorize-tests/.vscode/launch.json | 17 + .../vscode-colorize-tests/.vscode/tasks.json | 30 + extensions/vscode-colorize-tests/package.json | 19 + .../src/colorizer.test.ts | 56 + extensions/vscode-colorize-tests/src/index.ts | 28 + .../src/typings/ref.d.ts | 10 + .../vscode-colorize-tests/tsconfig.json | 12 + .../vscode-colorize-tests/typings/mocha.d.ts | 13 + package.json | 2 +- scripts/test-integration.sh | 3 +- .../themes.test.contribution.ts | 183 +- .../themes/electron-browser/themeService.ts | 6 +- 18 files changed, 3399 insertions(+), 87 deletions(-) create mode 100644 extensions/java/test/colorize-fixtures/basic.java create mode 100644 extensions/java/test/colorize-results/basic_java.json create mode 100644 extensions/json/test/colorize-fixtures/test.json create mode 100644 extensions/json/test/colorize-results/test_json.json create mode 100644 extensions/vscode-colorize-tests/.gitignore create mode 100644 extensions/vscode-colorize-tests/.vscode/launch.json create mode 100644 extensions/vscode-colorize-tests/.vscode/tasks.json create mode 100644 extensions/vscode-colorize-tests/package.json create mode 100644 extensions/vscode-colorize-tests/src/colorizer.test.ts create mode 100644 extensions/vscode-colorize-tests/src/index.ts create mode 100644 extensions/vscode-colorize-tests/src/typings/ref.d.ts create mode 100644 extensions/vscode-colorize-tests/tsconfig.json create mode 100644 extensions/vscode-colorize-tests/typings/mocha.d.ts diff --git a/extensions/java/test/colorize-fixtures/basic.java b/extensions/java/test/colorize-fixtures/basic.java new file mode 100644 index 00000000000..17a51df1cc0 --- /dev/null +++ b/extensions/java/test/colorize-fixtures/basic.java @@ -0,0 +1,38 @@ +import org.junit.Test; + +/* + * Multi line comment + */ +public class TestClass { + + private String aString; + + /** + * @param args + */ + public void doSomething(int a) { + double b = 0.0; + double c = 10e3; + long l = 134l; + } + + /* + * multiline comment + */ + @SuppressWarnings(value = "aString") + private long privateMethod(long b){ + for (int i = 0; i < 9; i++) { + System.out.println("Hello" + i); + } + return 10; + } + + //single line comment + @Test + public void someTests() { + int hex = 0x5; + Vector v = new Vector(); + } + + +} diff --git a/extensions/java/test/colorize-results/basic_java.json b/extensions/java/test/colorize-results/basic_java.json new file mode 100644 index 00000000000..805b2dc5dae --- /dev/null +++ b/extensions/java/test/colorize-results/basic_java.json @@ -0,0 +1,1883 @@ +[ + { + "c": "import", + "t": "meta.import.java.keyword.other", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword" + } + }, + { + "c": " ", + "t": "meta.import.java", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "org", + "t": "meta.import.java.storage.modifier", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": ".", + "t": "meta.import.java.storage.modifier.punctuation.separator", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": "junit", + "t": "meta.import.java.storage.modifier", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": ".", + "t": "meta.import.java.storage.modifier.punctuation.separator", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": "Test", + "t": "meta.import.java.storage.modifier", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": ";", + "t": "meta.import.java.punctuation.terminator", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "/*", + "t": "java.punctuation.comment.block.definition", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": " * Multi line comment", + "t": "java.comment.block", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": " ", + "t": "java.comment.block", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "*/", + "t": "java.punctuation.comment.block.definition", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "public", + "t": "meta.java.storage.modifier.class", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "class", + "t": "meta.java.storage.modifier.class.identifier", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class.identifier", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "TestClass", + "t": "meta.java.class.identifier.entity.name.type", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.class", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.type", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.type" + } + }, + { + "c": " ", + "t": "meta.java.class", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "{", + "t": "meta.java.punctuation.class.body.section.begin", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "private", + "t": "meta.java.storage.modifier.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "String", + "t": "meta.java.storage.class.type.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " aString", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "/*", + "t": "meta.java.punctuation.comment.block.definition.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "*", + "t": "meta.java.comment.block.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t * @param args", + "t": "meta.java.comment.block.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t ", + "t": "meta.java.comment.block.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "*/", + "t": "meta.java.punctuation.comment.block.definition.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "public", + "t": "meta.java.storage.modifier.class.body.method", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "void", + "t": "meta.java.storage.class.type.body.method.return-type.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method.return-type", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.return-type", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.return-type" + } + }, + { + "c": "doSomething", + "t": "meta.java.class.identifier.entity.name.body.method.function", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.class", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.method", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.method" + } + }, + { + "c": "(", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "int", + "t": "meta.java.storage.class.identifier.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " ", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "a", + "t": "meta.java.class.identifier.body.method.variable.parameter", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter" + } + }, + { + "c": ")", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "{", + "t": "meta.java.punctuation.class.body.section.begin.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "double", + "t": "meta.java.storage.class.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " b ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "0.0", + "t": "meta.java.class.body.method.constant.numeric.float", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "double", + "t": "meta.java.storage.class.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " c ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "10e3", + "t": "meta.java.class.body.method.constant.numeric.float", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "long", + "t": "meta.java.storage.class.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " l ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "134l", + "t": "meta.java.class.body.method.constant.numeric.integer", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "}", + "t": "meta.java.punctuation.class.body.section.method.end", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "/*", + "t": "meta.java.punctuation.comment.block.definition.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t * multiline comment", + "t": "meta.java.comment.block.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t ", + "t": "meta.java.comment.block.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "*/", + "t": "meta.java.punctuation.comment.block.definition.class.body", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "@SuppressWarnings", + "t": "meta.java.storage.class.type.body.declaration.annotation", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": "(", + "t": "meta.java.punctuation.definition.class.body.begin.declaration.annotation.annotation-arguments", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "value", + "t": "meta.java.other.class.body.constant.declaration.annotation.key", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": " ", + "t": "meta.java.class.body.declaration.annotation", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.operator.assignment.declaration.annotation", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.declaration.annotation", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\"", + "t": "meta.java.punctuation.definition.class.body.begin.declaration.annotation.string.quoted.double", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": "aString", + "t": "meta.java.class.body.declaration.annotation.string.quoted.double", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": "\"", + "t": "meta.java.punctuation.definition.class.body.end.declaration.annotation.string.quoted.double", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": ")", + "t": "meta.java.punctuation.definition.class.body.end.declaration.annotation.annotation-arguments", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "private", + "t": "meta.java.storage.modifier.class.body.method", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "long", + "t": "meta.java.storage.class.type.body.method.return-type.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method.return-type", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.return-type", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.return-type" + } + }, + { + "c": "privateMethod", + "t": "meta.java.class.identifier.entity.name.body.method.function", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.class", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.method", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.method" + } + }, + { + "c": "(", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "long", + "t": "meta.java.storage.class.identifier.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " ", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "b", + "t": "meta.java.class.identifier.body.method.variable.parameter", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter" + } + }, + { + "c": ")", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "{", + "t": "meta.java.punctuation.class.body.section.begin.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "for", + "t": "meta.java.keyword.class.body.method.control", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control" + } + }, + { + "c": " (", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "int", + "t": "meta.java.storage.class.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " i ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "0", + "t": "meta.java.class.body.method.constant.numeric.integer", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": " i ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "<", + "t": "meta.java.keyword.class.body.method.operator.comparison", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "9", + "t": "meta.java.class.body.method.constant.numeric.integer", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": " i", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "++", + "t": "meta.java.keyword.class.body.method.operator.increment-decrement", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": ") ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "{", + "t": "meta.java.punctuation.block.class.body.section.begin.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "System", + "t": "meta.java.storage.class.type.body.method", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": ".", + "t": "meta.java.keyword.class.body.method.operator.dereference", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": "out", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": ".", + "t": "meta.java.keyword.class.body.method.operator.dereference", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": "println", + "t": "meta.java.class.body.method.method-call", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "(", + "t": "meta.java.punctuation.definition.class.body.begin.method.method-call.method-parameters", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\"", + "t": "meta.java.punctuation.definition.class.body.begin.method.string.quoted.double.method-call", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": "Hello", + "t": "meta.java.class.body.method.string.quoted.double.method-call", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": "\"", + "t": "meta.java.punctuation.definition.class.body.method.end.string.quoted.double.method-call", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method.method-call", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "+", + "t": "meta.java.keyword.class.body.method.operator.method-call.arithmetic", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " i", + "t": "meta.java.class.body.method.method-call", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": ")", + "t": "meta.java.punctuation.definition.class.body.method.end.method-call.method-parameters", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "}", + "t": "meta.java.punctuation.block.class.body.section.method.end", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "return", + "t": "meta.java.keyword.class.body.method.control", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "10", + "t": "meta.java.class.body.method.constant.numeric.integer", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "}", + "t": "meta.java.punctuation.class.body.section.method.end", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.punctuation.comment.class.body.whitespace.leading", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "//", + "t": "meta.java.punctuation.comment.definition.class.body.line.double-slash", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "single line comment", + "t": "meta.java.comment.class.body.line.double-slash", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "@Test", + "t": "meta.java.storage.class.type.body.annotation", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": "\t", + "t": "meta.java.class.body", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "public", + "t": "meta.java.storage.modifier.class.body.method", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.modifier", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.modifier", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.modifier", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.modifier", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.modifier" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "void", + "t": "meta.java.storage.class.type.body.method.return-type.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method.return-type", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.return-type", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.return-type" + } + }, + { + "c": "someTests", + "t": "meta.java.class.identifier.entity.name.body.method.function", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.class", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.method", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.method" + } + }, + { + "c": "()", + "t": "meta.java.class.identifier.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "{", + "t": "meta.java.punctuation.class.body.section.begin.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "int", + "t": "meta.java.storage.class.type.body.method.primitive.array", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " hex ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "0x5", + "t": "meta.java.class.body.method.constant.numeric.hex", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "Vector", + "t": "meta.java.storage.class.type.body.method.generic", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": " v ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "=", + "t": "meta.java.keyword.class.body.method.operator.assignment", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "new", + "t": "meta.java.keyword.class.body.method.control.new", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control" + } + }, + { + "c": " ", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "Vector", + "t": "meta.java.storage.class.type.body.method", + "r": { + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type", + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type.java", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type.java" + } + }, + { + "c": "()", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": ";", + "t": "meta.java.punctuation.terminator.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "\t", + "t": "meta.java.class.body.method", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "}", + "t": "meta.java.punctuation.class.body.section.method.end", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + }, + { + "c": "}", + "t": "meta.java.punctuation.class.section.end", + "r": { + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token", + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token" + } + } +] \ No newline at end of file diff --git a/extensions/json/.vscode/launch.json b/extensions/json/.vscode/launch.json index 744746999b4..7a654d67e8d 100644 --- a/extensions/json/.vscode/launch.json +++ b/extensions/json/.vscode/launch.json @@ -13,6 +13,17 @@ "sourceMaps": true, "outDir": "${workspaceRoot}/client/out", "preLaunchTask": "npm" - } + }, + { + "name": "Launch Tests", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ], + "stopOnEntry": false, + "sourceMaps": true, + "outDir": "${workspaceRoot}/client/out/test", + "preLaunchTask": "npm" + } ] } \ No newline at end of file diff --git a/extensions/json/test/colorize-fixtures/test.json b/extensions/json/test/colorize-fixtures/test.json new file mode 100644 index 00000000000..189b7269d48 --- /dev/null +++ b/extensions/json/test/colorize-fixtures/test.json @@ -0,0 +1,14 @@ +{ + // a comment + "options": { + "myBool": true, + "myInteger": 1, + "myString": "String\u0056", + "myNumber": 1.24, + "myNull": null, + "myArray": [ 1, "Hello", true, null, [], {}], + "myObject" : { + "foo": "bar" + } + } +} \ No newline at end of file diff --git a/extensions/json/test/colorize-results/test_json.json b/extensions/json/test/colorize-results/test_json.json new file mode 100644 index 00000000000..196805c556a --- /dev/null +++ b/extensions/json/test/colorize-results/test_json.json @@ -0,0 +1,1157 @@ +[ + { + "c": "{", + "t": "meta.structure.dictionary.json.punctuation.definition.begin", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t", + "t": "meta.structure.dictionary.json", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "//", + "t": "meta.structure.dictionary.json.punctuation.definition.comment.line.double-slash.js", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment" + } + }, + { + "c": " a comment", + "t": "meta.structure.dictionary.json.comment.line.double-slash.js", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment" + } + }, + { + "c": "\t", + "t": "meta.structure.dictionary.json", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "options", + "t": "meta.structure.dictionary.json.support.type.property-name", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "{", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myBool", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "true", + "t": "meta.structure.dictionary.json.value.constant.language", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.language", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.language", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.language" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myInteger", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "1", + "t": "meta.structure.dictionary.json.value.constant.numeric", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myString", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "String", + "t": "meta.structure.dictionary.json.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "\\u0056", + "t": "meta.structure.dictionary.json.value.constant.string.quoted.double.character.escape", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myNumber", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "1.24", + "t": "meta.structure.dictionary.json.value.constant.numeric", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myNull", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "null", + "t": "meta.structure.dictionary.json.value.constant.language", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.language", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.language", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.language" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myArray", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "[", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "1", + "t": "meta.structure.dictionary.json.value.constant.numeric.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.string.quoted.double.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "Hello", + "t": "meta.structure.dictionary.json.value.string.quoted.double.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value.string.quoted.double.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "true", + "t": "meta.structure.dictionary.json.value.constant.language.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.language", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.language", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.language" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "null", + "t": "meta.structure.dictionary.json.value.constant.language.array", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.language", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.language", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.language" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "[", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "]", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "{", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "}]", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value.array", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": ",", + "t": "meta.structure.dictionary.json.punctuation.value.separator.pair", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "myObject", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "{", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.begin.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "foo", + "t": "meta.structure.dictionary.json.support.type.property-name.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.support.type.property-name.end.value", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.support.type.property-name", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.support.type.property-name", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.support.type.property-name", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.support.type.property-name", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.support.type.property-name" + } + }, + { + "c": ":", + "t": "meta.structure.dictionary.json.punctuation.value.separator.key-value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": " ", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.begin.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "bar", + "t": "meta.structure.dictionary.json.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "\"", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value.string.quoted.double", + "r": { + "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string.value", + "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string", + "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string.value", + "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string", + "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string.value" + } + }, + { + "c": "\t\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "}", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "\t", + "t": "meta.structure.dictionary.json.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "}", + "t": "meta.structure.dictionary.json.punctuation.definition.end.value", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + }, + { + "c": "}", + "t": "meta.structure.dictionary.json.punctuation.definition.end", + "r": { + "dark_plus": ".vs-dark .token", + "light_plus": ".vs .token", + "dark_vs": ".vs-dark .token", + "light_vs": ".vs .token", + "hc_black": ".hc-black .token" + } + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/.gitignore b/extensions/vscode-colorize-tests/.gitignore new file mode 100644 index 00000000000..8e5962ee727 --- /dev/null +++ b/extensions/vscode-colorize-tests/.gitignore @@ -0,0 +1,2 @@ +out +node_modules \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/.vscode/launch.json b/extensions/vscode-colorize-tests/.vscode/launch.json new file mode 100644 index 00000000000..76d6fa69865 --- /dev/null +++ b/extensions/vscode-colorize-tests/.vscode/launch.json @@ -0,0 +1,17 @@ +// A launch configuration that compiles the extension and then opens it inside a new window +{ + "version": "0.1.0", + "configurations": [ + { + "name": "Launch Tests", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": ["${workspaceRoot}/../../", "${workspaceRoot}/test", "--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out" ], + "stopOnEntry": false, + "sourceMaps": true, + "outDir": "${workspaceRoot}/out", + "preLaunchTask": "npm" + } + ] +} \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/.vscode/tasks.json b/extensions/vscode-colorize-tests/.vscode/tasks.json new file mode 100644 index 00000000000..d31b15910ee --- /dev/null +++ b/extensions/vscode-colorize-tests/.vscode/tasks.json @@ -0,0 +1,30 @@ +// Available variables which can be used inside of strings. +// ${workspaceRoot}: the root folder of the team +// ${file}: the current opened file +// ${fileBasename}: the current opened file's basename +// ${fileDirname}: the current opened file's dirname +// ${fileExtname}: the current opened file's extension +// ${cwd}: the current working directory of the spawned process + +// A task runner that calls a custom npm script that compiles the extension. +{ + "version": "0.1.0", + + // we want to run npm + "command": "npm", + + // the command is a shell script + "isShellCommand": true, + + // show the output window only if unrecognized errors occur. + "showOutput": "silent", + + // we run the custom script "compile" as defined in package.json + "args": ["run", "compile", "--loglevel", "silent"], + + // The tsc compiler is started in watching mode + "isWatching": true, + + // use the standard tsc in watch mode problem matcher to find compile problems in the output. + "problemMatcher": "$tsc-watch" +} \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/package.json b/extensions/vscode-colorize-tests/package.json new file mode 100644 index 00000000000..0cd9fa5488e --- /dev/null +++ b/extensions/vscode-colorize-tests/package.json @@ -0,0 +1,19 @@ +{ + "name": "vscode-colorize-tests", + "description": "Colorize tests for VS Code", + "version": "0.0.1", + "publisher": "vscode", + "private": true, + "engines": { + "vscode": "*" + }, + "scripts": { + "compile": "node ./node_modules/vscode/bin/compile -watch -p ./", + "vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-api-tests ./tsconfig.json", + "postinstall": "node ./node_modules/vscode/bin/install" + }, + "devDependencies": { + "typescript": "^1.6.2", + "vscode": "^0.11.1" + } +} \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/src/colorizer.test.ts b/extensions/vscode-colorize-tests/src/colorizer.test.ts new file mode 100644 index 00000000000..801642a33a3 --- /dev/null +++ b/extensions/vscode-colorize-tests/src/colorizer.test.ts @@ -0,0 +1,56 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +'use strict'; + +import * as assert from 'assert'; +import {commands, Uri} from 'vscode'; +import {join, basename, normalize, dirname} from 'path'; +import * as fs from 'fs'; + +function assertUnchangedTokens(testFixurePath:string, done) { + let fileName = basename(testFixurePath); + + return commands.executeCommand('_workbench.captureSyntaxTokens', Uri.file(testFixurePath)).then(data => { + try { + let resultsFolderPath = join(dirname(dirname(testFixurePath)), 'colorize-results'); + let resultPath = join(resultsFolderPath, fileName.replace('.', '_') + '.json'); + if (fs.existsSync(resultPath)) { + let previosData = JSON.parse(fs.readFileSync(resultPath).toString()); + try { + assert.deepEqual(data, previosData); + } catch (e) { + let errorResultPath = join(resultsFolderPath, fileName.replace('.', '_') + '.error.json'); + fs.writeFileSync(errorResultPath, JSON.stringify(data, null, '\t')); + throw e; + } + } else { + fs.writeFileSync(resultPath, JSON.stringify(data, null, '\t')); + } + done(); + } catch (e) { + done(e); + } + }, done); +} + +suite("colorization", () => { + let extensionsFolder = normalize(join(__dirname, '../../')); + console.log(extensionsFolder); + let extensions = fs.readdirSync(extensionsFolder); + extensions.forEach(extension => { + let extensionColorizeFixurePath = join(extensionsFolder, extension, 'test', 'colorize-fixtures'); + if (fs.existsSync(extensionColorizeFixurePath)) { + console.log(extensionColorizeFixurePath); + let fixturesFiles = fs.readdirSync(extensionColorizeFixurePath); + fixturesFiles.forEach(fixturesFile => { + // define a test for each fixture + test(extension + '-' + fixturesFile, function(done) { + assertUnchangedTokens(join(extensionColorizeFixurePath, fixturesFile), done); + }); + }); + } + }); +}); diff --git a/extensions/vscode-colorize-tests/src/index.ts b/extensions/vscode-colorize-tests/src/index.ts new file mode 100644 index 00000000000..9147c171546 --- /dev/null +++ b/extensions/vscode-colorize-tests/src/index.ts @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +// +// PLEASE DO NOT MODIFY / DELETE UNLESS YOU KNOW WHAT YOU ARE DOING +// +// This file is providing the test runner to use when running extension tests. +// By default the test runner in use is Mocha based. +// +// You can provide your own test runner if you want to override it by exporting +// a function run(testRoot: string, clb: (error:Error) => void) that the extension +// host can call to run the tests. The test runner is expected to use console.log +// to report the results back to the caller. When the tests are finished, return +// a possible error to the callback or null if none. + +const testRunner = require('vscode/lib/testrunner'); + +// You can directly control Mocha options by uncommenting the following lines +// See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info +testRunner.configure({ + ui: 'tdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.) + useColors: process.platform !== 'win32', // colored output from test results (only windows cannot handle) + timeout: 10000 +}); + +export= testRunner; \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/src/typings/ref.d.ts b/extensions/vscode-colorize-tests/src/typings/ref.d.ts new file mode 100644 index 00000000000..95498a3fb9c --- /dev/null +++ b/extensions/vscode-colorize-tests/src/typings/ref.d.ts @@ -0,0 +1,10 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +/// +/// +/// +/// +/// \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/tsconfig.json b/extensions/vscode-colorize-tests/tsconfig.json new file mode 100644 index 00000000000..44066990ddc --- /dev/null +++ b/extensions/vscode-colorize-tests/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "ES5", + "outDir": "out", + "noLib": true, + "sourceMap": true + }, + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/typings/mocha.d.ts b/extensions/vscode-colorize-tests/typings/mocha.d.ts new file mode 100644 index 00000000000..7b23f5d1816 --- /dev/null +++ b/extensions/vscode-colorize-tests/typings/mocha.d.ts @@ -0,0 +1,13 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +declare function run(): void; + +declare function suite(name: string, fn: (err?)=>void); +declare function test(name: string, fn: (done?: (err?)=>void)=>void); +declare function suiteSetup(fn: (done?: (err?)=>void)=>void); +declare function suiteTeardown(fn: (done?: (err?)=>void)=>void); +declare function setup(fn: (done?: (err?)=>void)=>void); +declare function teardown(fn: (done?: (err?)=>void)=>void); diff --git a/package.json b/package.json index 8ffdd76a369..8a963ddf678 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "scripts": { "test": "mocha", "preinstall": "node build/npm/preinstall.js", - "postinstall": "npm --prefix extensions/vscode-api-tests/ install extensions/vscode-api-tests/ && npm --prefix extensions/json/ install extensions/json/ && npm --prefix extensions/typescript/ install extensions/typescript/ && npm --prefix extensions/php/ install extensions/php/", + "postinstall": "npm --prefix extensions/vscode-api-tests/ install extensions/vscode-api-tests/ && npm --prefix extensions/vscode-colorize-tests/ install extensions/vscode-colorize-tests/ && npm --prefix extensions/json/ install extensions/json/ && npm --prefix extensions/typescript/ install extensions/typescript/ && npm --prefix extensions/php/ install extensions/php/", "watch": "gulp watch" }, "dependencies": { diff --git a/scripts/test-integration.sh b/scripts/test-integration.sh index ca37b19dd9e..fc7b94b7e0f 100755 --- a/scripts/test-integration.sh +++ b/scripts/test-integration.sh @@ -9,4 +9,5 @@ else fi # Integration Tests -./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out \ No newline at end of file +./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out +./scripts/code.sh $ROOT/extensions/vscode-colorize-tests/test --extensionDevelopmentPath=$ROOT/extensions/vscode-colorize-tests --extensionTestsPath=$ROOT/extensions/vscode-colorize-tests/out diff --git a/src/vs/workbench/parts/themes/test/electron-browser/themes.test.contribution.ts b/src/vs/workbench/parts/themes/test/electron-browser/themes.test.contribution.ts index 5e399135199..892b0ded0b8 100644 --- a/src/vs/workbench/parts/themes/test/electron-browser/themes.test.contribution.ts +++ b/src/vs/workbench/parts/themes/test/electron-browser/themes.test.contribution.ts @@ -23,94 +23,106 @@ import {TextModelWithTokens} from 'vs/editor/common/model/textModelWithTokens'; import {TextModel} from 'vs/editor/common/model/textModel'; import {IModeService} from 'vs/editor/common/services/modeService'; import pfs = require('vs/base/node/pfs'); +import {KeybindingsRegistry} from 'vs/platform/keybinding/common/keybindingsRegistry'; +import {IInstantiationService, ServicesAccessor} from 'vs/platform/instantiation/common/instantiation'; +import {IThemeService} from 'vs/workbench/services/themes/common/themeService'; +import {IWorkbenchEditorService} from 'vs/workbench/services/editor/common/editorService'; +import {KeyCode, KeyMod} from 'vs/base/common/keyCodes'; +import {asFileEditorInput} from 'vs/workbench/common/editor'; interface Data { c: string; // content t: string; // token - r: string; // rule + r: { [theme:string]:string} } -const ID = 'workbench.action.snapshotAction'; -const LABEL = nls.localize('togglePosition', "Take Theme Snapshot"); +class Snapper { -class SnapshotAction extends Action { - - private currentSrcFolder: string; - - constructor(id: string, label: string, - @IModeService private modeService: IModeService + constructor( + @IModeService private modeService: IModeService, + @IThemeService private themeService: IThemeService ) { - super(id, label); - let outFolder = require.toUrl(''); - this.currentSrcFolder = paths.normalize(paths.join(outFolder, "../src/vs/workbench/parts/themes/test/electron-browser")); } - public run(): TPromise { - let fixturesPath = URI.parse(paths.join(this.currentSrcFolder, 'fixtures')).fsPath; - return pfs.readdir(fixturesPath).then(fileNames => { - return TPromise.join(fileNames.map(fileName => { - return pfs.readFile(paths.join(fixturesPath, fileName)).then(content => { - return this.snap(fileName, content.toString()).then(result => { - return this.verify(fileName, result); - }); - }); - })); - }, err => { - console.log(err.toString()); - }); - } - - public getId() : string { - return "TokenizationSnapshotController"; - } - - private getEditorNode() : Element { - let editorNodes = document.getElementsByClassName('monaco-editor'); - if (editorNodes.length > 0) { - return editorNodes.item(0); - } - return null; - } - - private getStyle(scope: string) : string { + private getTestNode(themeId: string) : Element { + let editorNode = document.createElement('div'); + editorNode.className = 'monaco-editor ' + themeId; + document.body.appendChild(editorNode); let element = document.createElement('span'); - element.className = scope; - element.hidden = true; - let cssStyles = window.getComputedStyle(element); + editorNode.appendChild(element); + + return element; + } + + private getStyle(testNode: Element, scope: string) : string { + + testNode.className = 'token ' + scope; + + let cssStyles = window.getComputedStyle(testNode); if (cssStyles) { return cssStyles.color; } return ''; } - private getMatchedCSSRule(scope: string) : string { - let element = document.createElement('span'); - element.className = 'token ' + scope; - element.hidden = true; + private getMatchedCSSRule(testNode: Element, scope: string) : string { - let editorNode = this.getEditorNode(); - editorNode.appendChild(element); + testNode.className = 'token ' + scope.replace(/\./g, ' '); - let rulesList = window.getMatchedCSSRules(element); - - editorNode.removeChild(element); + let rulesList = window.getMatchedCSSRules(testNode); if (rulesList) { for (let i = rulesList.length - 1; i >= 0 ; i--) { let selectorText = rulesList.item(i)['selectorText']; - if (selectorText && selectorText.indexOf('.monaco-editor.vs') === 0) { + if (selectorText && selectorText.match(/\.monaco-editor\..+token/) ) { return selectorText.substr(14); } } + } else { + console.log('no match ' + scope); } return ''; } - public snap(fileName: string, content: string) : TPromise { + + public appendThemeInformation(data: Data[]) : TPromise { + let currentTheme = this.themeService.getTheme(); + + let getThemeName = (id: string) => { + let part = 'vscode-theme-defaults-themes-'; + let startIdx = id.indexOf(part); + if (startIdx !== -1) { + return id.substring(startIdx + part.length, id.length - 5); + } + return void 0; + } + + return this.themeService.getThemes().then(themeDatas => { + let defaultThemes = themeDatas.filter(themeData => !!getThemeName(themeData.id)); + return TPromise.join(defaultThemes.map(defaultTheme => { + let themeId = defaultTheme.id; + return this.themeService.setTheme(themeId, false).then(success => { + if (success) { + let testNode = this.getTestNode(themeId); + let themeName = getThemeName(themeId); + data.forEach(entry => { + entry.r[themeName] = this.getMatchedCSSRule(testNode, entry.t); + }); + } + }); + })); + }).then(_ => { + return this.themeService.setTheme(currentTheme, false).then(_ => { + return data; + }); + }); + } + + public captureSyntaxTokens(fileName: string, content: string) : TPromise { return this.modeService.getOrCreateModeByFilenameOrFirstLine(fileName).then(mode => { let result : Data[] = []; let model = new TextModelWithTokens([], TextModel.toRawText(content, TextModel.DEFAULT_CREATION_OPTIONS), false, mode); @@ -122,39 +134,48 @@ class SnapshotAction extends Action { result.push({ c: content, t: tokenInfo.token.type, - r: this.getMatchedCSSRule(tokenInfo.token.type) + r: {} }); } }); - return result; - }); - } - - public verify(fileName: string, data: Data[]) : TPromise { - let dataString = JSON.stringify(data, null, '\t'); - let resultFileName = fileName.replace('.', '_') + '.json'; - let resultPath = URI.parse(paths.join(this.currentSrcFolder, 'results', resultFileName)).fsPath; - - return pfs.fileExists(resultPath).then(success => { - if (success) { - return pfs.readFile(resultPath).then(content => { - let previousDataString = content.toString(); - if (previousDataString !== dataString) { - let errorResultFileName = fileName.replace('.', '_') + '.error.json'; - let errorResultPath = URI.parse(paths.join(this.currentSrcFolder, 'results', errorResultFileName)).fsPath; - console.log(`Different result for ${fileName}`); - return pfs.writeFile(errorResultPath, dataString); - } - return true; - }); - } else { - return pfs.writeFile(resultPath, dataString); - } + return this.appendThemeInformation(result); }); } } -var workbenchActionsRegistry = Platform.Registry.as(WorkbenchActionRegistry.Extensions.WorkbenchActions); +KeybindingsRegistry.registerCommandDesc({ + id: '_workbench.captureSyntaxTokens', + weight: KeybindingsRegistry.WEIGHT.workbenchContrib(0), + handler(accessor: ServicesAccessor, args: [URI]) { -workbenchActionsRegistry.registerWorkbenchAction(new SyncActionDescriptor(SnapshotAction, ID, LABEL), nls.localize('view', "View")); + let process = (resource: URI) => { + let filePath = resource.fsPath; + let fileName = paths.basename(filePath); + let snapper = accessor.get(IInstantiationService).createInstance(Snapper); + + return pfs.readFile(filePath).then(content => { + return snapper.captureSyntaxTokens(fileName, content.toString()); + }); + } + + + let [resource] = args; + if (!resource) { + let editorService = accessor.get(IWorkbenchEditorService); + let fileEditorInput = asFileEditorInput(editorService.getActiveEditorInput()); + if (fileEditorInput) { + process(fileEditorInput.getResource()).then(result => { + console.log(result); + }); + } else { + console.log('No file editor active'); + } + } else { + return process(resource); + } + + }, + context: undefined, + primary: KeyMod.Shift | KeyCode.F11 +}); diff --git a/src/vs/workbench/services/themes/electron-browser/themeService.ts b/src/vs/workbench/services/themes/electron-browser/themeService.ts index f3c65c8ba1a..08447319dd1 100644 --- a/src/vs/workbench/services/themes/electron-browser/themeService.ts +++ b/src/vs/workbench/services/themes/electron-browser/themeService.ts @@ -142,7 +142,7 @@ export class ThemeService implements IThemeService { if (broadcastToAllWindows) { this.windowService.broadcast({ channel: THEME_CHANNEL, payload: themeId }); } - return TPromise.as(false); + return TPromise.as(true); } themeId = validateThemeId(themeId); // migrate theme ids @@ -191,7 +191,7 @@ export class ThemeService implements IThemeService { if (theme) { return applyTheme(theme, onApply); } - return null; + return false; }); } @@ -253,7 +253,7 @@ function applyTheme(theme: IThemeData, onApply: (themeId:string) => void): TProm theme.styleSheetContent = styleSheetContent; _applyRules(styleSheetContent); onApply(theme.id); - return false; + return true; }, error => { return TPromise.wrapError(nls.localize('error.cannotloadtheme', "Unable to load {0}", theme.path)); });