-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Colorization tests for tree sitter (#229517)
* Colorization tests for tree sitter Part of #210475 * Fix tests * Actually fix tests * Fix line endings * Register preferTreeSitter setting
- Loading branch information
Showing
118 changed files
with
11,507 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/12750_html.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/13448_html.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/14119_less.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/25920_html.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/COMMIT_EDITMSG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/Dockerfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/basic_java.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/git-rebase-todo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-1550_yaml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-224862_yaml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-28354_php.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-4008_yaml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-6303_yaml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-76997_php.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/makefile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/md-math_md.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-13777_go.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-166781_rs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173216_sh.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173224_sh.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173336_sh.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23630_cpp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23850_cpp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-33886_md.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-4287_pug.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-6611_rs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-7115_xml.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-78769_cpp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-80644_cpp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-brackets_tsx.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
...sions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_less.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
...sions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_scss.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-embedding_html.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56377_py.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
...nsions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56476_ps1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
152 changes: 152 additions & 0 deletions
152
extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-function-inv_ts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
[ | ||
{ | ||
"c": "rowData", | ||
"t": "variable", | ||
"r": { | ||
"dark_plus": "variable: #9CDCFE", | ||
"light_plus": "variable: #001080", | ||
"hc_black": "variable: #9CDCFE", | ||
"dark_modern": "variable: #9CDCFE", | ||
"hc_light": "variable: #001080", | ||
"light_modern": "variable: #001080" | ||
} | ||
}, | ||
{ | ||
"c": ".", | ||
"t": "punctuation.delimiter", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "push", | ||
"t": "variable entity.name.function", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"hc_black": "entity.name.function: #DCDCAA", | ||
"dark_modern": "entity.name.function: #DCDCAA", | ||
"hc_light": "entity.name.function: #5E2CBC", | ||
"light_modern": "entity.name.function: #795E26" | ||
} | ||
}, | ||
{ | ||
"c": "(", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "callback", | ||
"t": "variable entity.name.function", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"hc_black": "entity.name.function: #DCDCAA", | ||
"dark_modern": "entity.name.function: #DCDCAA", | ||
"hc_light": "entity.name.function: #5E2CBC", | ||
"light_modern": "entity.name.function: #795E26" | ||
} | ||
}, | ||
{ | ||
"c": "(", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "new", | ||
"t": "keyword.operator.new", | ||
"r": { | ||
"dark_plus": "keyword.operator.new: #569CD6", | ||
"light_plus": "keyword.operator.new: #0000FF", | ||
"dark_vs": "keyword.operator.new: #569CD6", | ||
"light_vs": "keyword.operator.new: #0000FF", | ||
"hc_black": "keyword.operator.new: #569CD6", | ||
"dark_modern": "keyword.operator.new: #569CD6", | ||
"hc_light": "keyword.operator.new: #0F4A85", | ||
"light_modern": "keyword.operator.new: #0000FF" | ||
} | ||
}, | ||
{ | ||
"c": "Cell", | ||
"t": "variable entity.name.function", | ||
"r": { | ||
"dark_plus": "entity.name.function: #DCDCAA", | ||
"light_plus": "entity.name.function: #795E26", | ||
"hc_black": "entity.name.function: #DCDCAA", | ||
"dark_modern": "entity.name.function: #DCDCAA", | ||
"hc_light": "entity.name.function: #5E2CBC", | ||
"light_modern": "entity.name.function: #795E26" | ||
} | ||
}, | ||
{ | ||
"c": "(", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "row", | ||
"t": "variable", | ||
"r": { | ||
"dark_plus": "variable: #9CDCFE", | ||
"light_plus": "variable: #001080", | ||
"hc_black": "variable: #9CDCFE", | ||
"dark_modern": "variable: #9CDCFE", | ||
"hc_light": "variable: #001080", | ||
"light_modern": "variable: #001080" | ||
} | ||
}, | ||
{ | ||
"c": ",", | ||
"t": "punctuation.delimiter", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "col", | ||
"t": "variable", | ||
"r": { | ||
"dark_plus": "variable: #9CDCFE", | ||
"light_plus": "variable: #001080", | ||
"hc_black": "variable: #9CDCFE", | ||
"dark_modern": "variable: #9CDCFE", | ||
"hc_light": "variable: #001080", | ||
"light_modern": "variable: #001080" | ||
} | ||
}, | ||
{ | ||
"c": ",", | ||
"t": "punctuation.delimiter", | ||
"r": {} | ||
}, | ||
{ | ||
"c": "false", | ||
"t": "constant.language", | ||
"r": { | ||
"dark_plus": "constant.language: #569CD6", | ||
"light_plus": "constant.language: #0000FF", | ||
"dark_vs": "constant.language: #569CD6", | ||
"light_vs": "constant.language: #0000FF", | ||
"hc_black": "constant.language: #569CD6", | ||
"dark_modern": "constant.language: #569CD6", | ||
"hc_light": "constant.language: #0F4A85", | ||
"light_modern": "constant.language: #0000FF" | ||
} | ||
}, | ||
{ | ||
"c": ")", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": ")", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": ")", | ||
"t": "", | ||
"r": {} | ||
}, | ||
{ | ||
"c": ";", | ||
"t": "punctuation.delimiter", | ||
"r": {} | ||
} | ||
] |
Oops, something went wrong.