mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
even more colorizer tests
This commit is contained in:
10
extensions/ini/test/colorize-fixtures/test.ini
Normal file
10
extensions/ini/test/colorize-fixtures/test.ini
Normal file
@@ -0,0 +1,10 @@
|
||||
; last modified 1 April 2001 by John Doe
|
||||
[owner]
|
||||
name=John Doe
|
||||
organization=Acme Widgets Inc.
|
||||
|
||||
[database]
|
||||
; use IP address in case network name resolution is not working
|
||||
server=192.0.2.62
|
||||
port=143
|
||||
file="payroll.dat"
|
||||
299
extensions/ini/test/colorize-results/test_ini.json
Normal file
299
extensions/ini/test/colorize-results/test_ini.json
Normal file
@@ -0,0 +1,299 @@
|
||||
[
|
||||
{
|
||||
"c": ";",
|
||||
"t": "comment.line.semicolon.ini.punctuation.definition",
|
||||
"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": " last modified 1 April 2001 by John Doe",
|
||||
"t": "comment.line.semicolon.ini",
|
||||
"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": "ini.punctuation.definition.entity.name.section.group-title",
|
||||
"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": "owner",
|
||||
"t": "ini.entity.name.section.group-title",
|
||||
"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": "ini.punctuation.definition.entity.name.section.group-title",
|
||||
"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": "name",
|
||||
"t": "ini.definition.keyword.other",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "ini.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": "John Doe",
|
||||
"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": "organization",
|
||||
"t": "ini.definition.keyword.other",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "ini.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": "Acme Widgets Inc.",
|
||||
"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": "[",
|
||||
"t": "ini.punctuation.definition.entity.name.section.group-title",
|
||||
"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": "database",
|
||||
"t": "ini.entity.name.section.group-title",
|
||||
"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": "ini.punctuation.definition.entity.name.section.group-title",
|
||||
"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": "comment.line.semicolon.ini.punctuation.definition",
|
||||
"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": " use IP address in case network name resolution is not working",
|
||||
"t": "comment.line.semicolon.ini",
|
||||
"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": "server",
|
||||
"t": "ini.definition.keyword.other",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "ini.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": "192.0.2.62",
|
||||
"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": "port",
|
||||
"t": "ini.definition.keyword.other",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "ini.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": "143",
|
||||
"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": "file",
|
||||
"t": "ini.definition.keyword.other",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "ini.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": "\"",
|
||||
"t": "ini.punctuation.definition.string.quoted.double.begin",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "payroll.dat",
|
||||
"t": "ini.string.quoted.double",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "ini.punctuation.definition.string.quoted.double.end",
|
||||
"r": {
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user