Skip to content

Commit 86405ea

Browse files
authored
Revert vscode-textmate on stable (#84053)
Revert vscode-textmate on stable
2 parents 515f496 + 9747d77 commit 86405ea

File tree

10 files changed

+43
-378
lines changed

10 files changed

+43
-378
lines changed

extensions/typescript-basics/package.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,6 @@
7777
"meta.import string.quoted": "other",
7878
"variable.other.jsdoc": "other"
7979
}
80-
},
81-
{
82-
"scopeName": "documentation.injection.ts",
83-
"path": "./syntaxes/jsdoc.ts.injection.tmLanguage.json",
84-
"injectTo": [
85-
"source.ts",
86-
"source.tsx"
87-
]
88-
},
89-
{
90-
"scopeName": "documentation.injection.js.jsx",
91-
"path": "./syntaxes/jsdoc.js.injection.tmLanguage.json",
92-
"injectTo": [
93-
"source.js",
94-
"source.js.jsx"
95-
]
9680
}
9781
],
9882
"snippets": [

extensions/typescript-basics/test/colorize-results/test-jsdoc-example_ts.json

Lines changed: 13 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"c": "@",
26-
"t": "source.ts comment.block.documentation.ts storage.type.class.jsdoc punctuation.definition.block.tag.jsdoc",
26+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc storage.type.class.jsdoc punctuation.definition.block.tag.jsdoc",
2727
"r": {
2828
"dark_plus": "storage.type: #569CD6",
2929
"light_plus": "storage.type: #0000FF",
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"c": "example",
37-
"t": "source.ts comment.block.documentation.ts storage.type.class.jsdoc",
37+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc storage.type.class.jsdoc",
3838
"r": {
3939
"dark_plus": "storage.type: #569CD6",
4040
"light_plus": "storage.type: #0000FF",
@@ -44,8 +44,8 @@
4444
}
4545
},
4646
{
47-
"c": " *",
48-
"t": "source.ts comment.block.documentation.ts",
47+
"c": " * ",
48+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc",
4949
"r": {
5050
"dark_plus": "comment: #6A9955",
5151
"light_plus": "comment: #008000",
@@ -55,74 +55,19 @@
5555
}
5656
},
5757
{
58-
"c": " ",
59-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts",
60-
"r": {
61-
"dark_plus": "meta.embedded: #D4D4D4",
62-
"light_plus": "meta.embedded: #000000",
63-
"dark_vs": "meta.embedded: #D4D4D4",
64-
"light_vs": "meta.embedded: #000000",
65-
"hc_black": "meta.embedded: #FFFFFF"
66-
}
67-
},
68-
{
69-
"c": "1",
70-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts constant.numeric.decimal.tsx",
71-
"r": {
72-
"dark_plus": "constant.numeric: #B5CEA8",
73-
"light_plus": "constant.numeric: #09885A",
74-
"dark_vs": "constant.numeric: #B5CEA8",
75-
"light_vs": "constant.numeric: #09885A",
76-
"hc_black": "constant.numeric: #B5CEA8"
77-
}
78-
},
79-
{
80-
"c": " ",
81-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts",
82-
"r": {
83-
"dark_plus": "meta.embedded: #D4D4D4",
84-
"light_plus": "meta.embedded: #000000",
85-
"dark_vs": "meta.embedded: #D4D4D4",
86-
"light_vs": "meta.embedded: #000000",
87-
"hc_black": "meta.embedded: #FFFFFF"
88-
}
89-
},
90-
{
91-
"c": "+",
92-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts keyword.operator.arithmetic.tsx",
93-
"r": {
94-
"dark_plus": "keyword.operator: #D4D4D4",
95-
"light_plus": "keyword.operator: #000000",
96-
"dark_vs": "keyword.operator: #D4D4D4",
97-
"light_vs": "keyword.operator: #000000",
98-
"hc_black": "keyword.operator: #D4D4D4"
99-
}
100-
},
101-
{
102-
"c": " ",
103-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts",
104-
"r": {
105-
"dark_plus": "meta.embedded: #D4D4D4",
106-
"light_plus": "meta.embedded: #000000",
107-
"dark_vs": "meta.embedded: #D4D4D4",
108-
"light_vs": "meta.embedded: #000000",
109-
"hc_black": "meta.embedded: #FFFFFF"
110-
}
111-
},
112-
{
113-
"c": "1",
114-
"t": "source.ts comment.block.documentation.ts meta.embedded.block.example.source.ts constant.numeric.decimal.tsx",
58+
"c": "1 + 1",
59+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc source.embedded.ts",
11560
"r": {
116-
"dark_plus": "constant.numeric: #B5CEA8",
117-
"light_plus": "constant.numeric: #09885A",
118-
"dark_vs": "constant.numeric: #B5CEA8",
119-
"light_vs": "constant.numeric: #09885A",
120-
"hc_black": "constant.numeric: #B5CEA8"
61+
"dark_plus": "comment: #6A9955",
62+
"light_plus": "comment: #008000",
63+
"dark_vs": "comment: #6A9955",
64+
"light_vs": "comment: #008000",
65+
"hc_black": "comment: #7CA668"
12166
}
12267
},
12368
{
12469
"c": " *",
125-
"t": "source.ts comment.block.documentation.ts",
70+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc",
12671
"r": {
12772
"dark_plus": "comment: #6A9955",
12873
"light_plus": "comment: #008000",
@@ -133,7 +78,7 @@
13378
},
13479
{
13580
"c": " * ",
136-
"t": "source.ts comment.block.documentation.ts",
81+
"t": "source.ts comment.block.documentation.ts meta.example.jsdoc",
13782
"r": {
13883
"dark_plus": "comment: #6A9955",
13984
"light_plus": "comment: #008000",

extensions/typescript-basics/test/colorize-results/test-jsdoc-markdown_ts.json

Lines changed: 4 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
{
14-
"c": " * ",
14+
"c": " * **Bold**",
1515
"t": "source.ts comment.block.documentation.ts",
1616
"r": {
1717
"dark_plus": "comment: #6A9955",
@@ -22,40 +22,7 @@
2222
}
2323
},
2424
{
25-
"c": "**",
26-
"t": "source.ts comment.block.documentation.ts markup.bold.markdown punctuation.definition.bold.markdown",
27-
"r": {
28-
"dark_plus": "markup.bold: #569CD6",
29-
"light_plus": "markup.bold: #000080",
30-
"dark_vs": "markup.bold: #569CD6",
31-
"light_vs": "markup.bold: #000080",
32-
"hc_black": "comment: #7CA668"
33-
}
34-
},
35-
{
36-
"c": "Bold",
37-
"t": "source.ts comment.block.documentation.ts markup.bold.markdown",
38-
"r": {
39-
"dark_plus": "markup.bold: #569CD6",
40-
"light_plus": "markup.bold: #000080",
41-
"dark_vs": "markup.bold: #569CD6",
42-
"light_vs": "markup.bold: #000080",
43-
"hc_black": "comment: #7CA668"
44-
}
45-
},
46-
{
47-
"c": "**",
48-
"t": "source.ts comment.block.documentation.ts markup.bold.markdown punctuation.definition.bold.markdown",
49-
"r": {
50-
"dark_plus": "markup.bold: #569CD6",
51-
"light_plus": "markup.bold: #000080",
52-
"dark_vs": "markup.bold: #569CD6",
53-
"light_vs": "markup.bold: #000080",
54-
"hc_black": "comment: #7CA668"
55-
}
56-
},
57-
{
58-
"c": " *",
25+
"c": " * ```js",
5926
"t": "source.ts comment.block.documentation.ts",
6027
"r": {
6128
"dark_plus": "comment: #6A9955",
@@ -66,40 +33,7 @@
6633
}
6734
},
6835
{
69-
"c": " ",
70-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown",
71-
"r": {
72-
"dark_plus": "comment: #6A9955",
73-
"light_plus": "comment: #008000",
74-
"dark_vs": "comment: #6A9955",
75-
"light_vs": "comment: #008000",
76-
"hc_black": "comment: #7CA668"
77-
}
78-
},
79-
{
80-
"c": "```",
81-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown punctuation.definition.markdown",
82-
"r": {
83-
"dark_plus": "comment: #6A9955",
84-
"light_plus": "comment: #008000",
85-
"dark_vs": "comment: #6A9955",
86-
"light_vs": "comment: #008000",
87-
"hc_black": "comment: #7CA668"
88-
}
89-
},
90-
{
91-
"c": "js",
92-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown fenced_code.block.language.markdown",
93-
"r": {
94-
"dark_plus": "comment: #6A9955",
95-
"light_plus": "comment: #008000",
96-
"dark_vs": "comment: #6A9955",
97-
"light_vs": "comment: #008000",
98-
"hc_black": "comment: #7CA668"
99-
}
100-
},
101-
{
102-
"c": " *",
36+
"c": " * 1 + code",
10337
"t": "source.ts comment.block.documentation.ts",
10438
"r": {
10539
"dark_plus": "comment: #6A9955",
@@ -110,73 +44,7 @@
11044
}
11145
},
11246
{
113-
"c": " ",
114-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript",
115-
"r": {
116-
"dark_plus": "meta.embedded: #D4D4D4",
117-
"light_plus": "meta.embedded: #000000",
118-
"dark_vs": "meta.embedded: #D4D4D4",
119-
"light_vs": "meta.embedded: #000000",
120-
"hc_black": "meta.embedded: #FFFFFF"
121-
}
122-
},
123-
{
124-
"c": "1",
125-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript constant.numeric.decimal.js",
126-
"r": {
127-
"dark_plus": "constant.numeric: #B5CEA8",
128-
"light_plus": "constant.numeric: #09885A",
129-
"dark_vs": "constant.numeric: #B5CEA8",
130-
"light_vs": "constant.numeric: #09885A",
131-
"hc_black": "constant.numeric: #B5CEA8"
132-
}
133-
},
134-
{
135-
"c": " ",
136-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript",
137-
"r": {
138-
"dark_plus": "meta.embedded: #D4D4D4",
139-
"light_plus": "meta.embedded: #000000",
140-
"dark_vs": "meta.embedded: #D4D4D4",
141-
"light_vs": "meta.embedded: #000000",
142-
"hc_black": "meta.embedded: #FFFFFF"
143-
}
144-
},
145-
{
146-
"c": "+",
147-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript keyword.operator.arithmetic.js",
148-
"r": {
149-
"dark_plus": "keyword.operator: #D4D4D4",
150-
"light_plus": "keyword.operator: #000000",
151-
"dark_vs": "keyword.operator: #D4D4D4",
152-
"light_vs": "keyword.operator: #000000",
153-
"hc_black": "keyword.operator: #D4D4D4"
154-
}
155-
},
156-
{
157-
"c": " ",
158-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript",
159-
"r": {
160-
"dark_plus": "meta.embedded: #D4D4D4",
161-
"light_plus": "meta.embedded: #000000",
162-
"dark_vs": "meta.embedded: #D4D4D4",
163-
"light_vs": "meta.embedded: #000000",
164-
"hc_black": "meta.embedded: #FFFFFF"
165-
}
166-
},
167-
{
168-
"c": "code",
169-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown meta.embedded.block.javascript variable.other.readwrite.js",
170-
"r": {
171-
"dark_plus": "variable: #9CDCFE",
172-
"light_plus": "variable: #001080",
173-
"dark_vs": "meta.embedded: #D4D4D4",
174-
"light_vs": "meta.embedded: #000000",
175-
"hc_black": "variable: #9CDCFE"
176-
}
177-
},
178-
{
179-
"c": " *",
47+
"c": " * ```",
18048
"t": "source.ts comment.block.documentation.ts",
18149
"r": {
18250
"dark_plus": "comment: #6A9955",
@@ -186,28 +54,6 @@
18654
"hc_black": "comment: #7CA668"
18755
}
18856
},
189-
{
190-
"c": " ",
191-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown",
192-
"r": {
193-
"dark_plus": "comment: #6A9955",
194-
"light_plus": "comment: #008000",
195-
"dark_vs": "comment: #6A9955",
196-
"light_vs": "comment: #008000",
197-
"hc_black": "comment: #7CA668"
198-
}
199-
},
200-
{
201-
"c": "```",
202-
"t": "source.ts comment.block.documentation.ts markup.fenced_code.block.markdown punctuation.definition.markdown",
203-
"r": {
204-
"dark_plus": "comment: #6A9955",
205-
"light_plus": "comment: #008000",
206-
"dark_vs": "comment: #6A9955",
207-
"light_vs": "comment: #008000",
208-
"hc_black": "comment: #7CA668"
209-
}
210-
},
21157
{
21258
"c": " ",
21359
"t": "source.ts comment.block.documentation.ts",

0 commit comments

Comments
 (0)