mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
even more colorizer tests
This commit is contained in:
16
extensions/make/test/colorize-fixtures/makefile
Normal file
16
extensions/make/test/colorize-fixtures/makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
all: hello
|
||||
|
||||
hello: main.o factorial.o hello.o
|
||||
g++ main.o factorial.o hello.o -o hello
|
||||
|
||||
main.o: main.cpp
|
||||
g++ -c main.cpp
|
||||
|
||||
factorial.o: factorial.cpp
|
||||
g++ -c factorial.cpp
|
||||
|
||||
hello.o: hello.cpp
|
||||
g++ -c hello.cpp
|
||||
|
||||
clean:
|
||||
rm *o hello
|
||||
244
extensions/make/test/colorize-results/makefile.json
Normal file
244
extensions/make/test/colorize-results/makefile.json
Normal file
@@ -0,0 +1,244 @@
|
||||
[
|
||||
{
|
||||
"c": "all",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " hello",
|
||||
"t": "meta.scope.target.makefile.prerequisites",
|
||||
"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": "hello",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " main.o factorial.o hello.o",
|
||||
"t": "meta.scope.target.makefile.prerequisites",
|
||||
"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": " g++ main.o factorial.o hello.o -o hello",
|
||||
"t": "",
|
||||
"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": "main.o",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " main.cpp",
|
||||
"t": "meta.scope.target.makefile.prerequisites",
|
||||
"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": " g++ -c main.cpp",
|
||||
"t": "",
|
||||
"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": "factorial.o",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " factorial.cpp",
|
||||
"t": "meta.scope.target.makefile.prerequisites",
|
||||
"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": " g++ -c factorial.cpp",
|
||||
"t": "",
|
||||
"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": "hello.o",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " hello.cpp",
|
||||
"t": "meta.scope.target.makefile.prerequisites",
|
||||
"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": " g++ -c hello.cpp",
|
||||
"t": "",
|
||||
"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": "clean",
|
||||
"t": "meta.scope.target.makefile.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "meta.scope.target.makefile.punctuation.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": " rm *o hello",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user