Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/javascript/package.json
3309 views
1
{
2
"name": "javascript",
3
"displayName": "%displayName%",
4
"description": "%description%",
5
"version": "1.0.0",
6
"publisher": "vscode",
7
"license": "MIT",
8
"engines": {
9
"vscode": "0.10.x"
10
},
11
"categories": ["Programming Languages"],
12
"contributes": {
13
"configurationDefaults": {
14
"[javascript]": {
15
"editor.maxTokenizationLineLength": 2500
16
}
17
},
18
"languages": [
19
{
20
"id": "javascriptreact",
21
"aliases": [
22
"JavaScript JSX",
23
"JavaScript React",
24
"jsx"
25
],
26
"extensions": [
27
".jsx"
28
],
29
"configuration": "./javascript-language-configuration.json"
30
},
31
{
32
"id": "javascript",
33
"aliases": [
34
"JavaScript",
35
"javascript",
36
"js"
37
],
38
"extensions": [
39
".js",
40
".es6",
41
".mjs",
42
".cjs",
43
".pac"
44
],
45
"filenames": [
46
"jakefile"
47
],
48
"firstLine": "^#!.*\\bnode",
49
"mimetypes": [
50
"text/javascript"
51
],
52
"configuration": "./javascript-language-configuration.json"
53
},
54
{
55
"id": "jsx-tags",
56
"aliases": [],
57
"configuration": "./tags-language-configuration.json"
58
}
59
],
60
"grammars": [
61
{
62
"language": "javascriptreact",
63
"scopeName": "source.js.jsx",
64
"path": "./syntaxes/JavaScriptReact.tmLanguage.json",
65
"embeddedLanguages": {
66
"meta.tag.js": "jsx-tags",
67
"meta.tag.without-attributes.js": "jsx-tags",
68
"meta.tag.attributes.js.jsx": "javascriptreact",
69
"meta.embedded.expression.js": "javascriptreact"
70
},
71
"tokenTypes": {
72
"punctuation.definition.template-expression": "other",
73
"entity.name.type.instance.jsdoc": "other",
74
"entity.name.function.tagged-template": "other",
75
"meta.import string.quoted": "other",
76
"variable.other.jsdoc": "other"
77
}
78
},
79
{
80
"language": "javascript",
81
"scopeName": "source.js",
82
"path": "./syntaxes/JavaScript.tmLanguage.json",
83
"embeddedLanguages": {
84
"meta.tag.js": "jsx-tags",
85
"meta.tag.without-attributes.js": "jsx-tags",
86
"meta.tag.attributes.js": "javascript",
87
"meta.embedded.expression.js": "javascript"
88
},
89
"tokenTypes": {
90
"punctuation.definition.template-expression": "other",
91
"entity.name.type.instance.jsdoc": "other",
92
"entity.name.function.tagged-template": "other",
93
"meta.import string.quoted": "other",
94
"variable.other.jsdoc": "other"
95
}
96
},
97
{
98
"scopeName": "source.js.regexp",
99
"path": "./syntaxes/Regular Expressions (JavaScript).tmLanguage"
100
}
101
],
102
"semanticTokenScopes": [
103
{
104
"language": "javascript",
105
"scopes": {
106
"property": [
107
"variable.other.property.js"
108
],
109
"property.readonly": [
110
"variable.other.constant.property.js"
111
],
112
"variable": [
113
"variable.other.readwrite.js"
114
],
115
"variable.readonly": [
116
"variable.other.constant.object.js"
117
],
118
"function": [
119
"entity.name.function.js"
120
],
121
"namespace": [
122
"entity.name.type.module.js"
123
],
124
"variable.defaultLibrary": [
125
"support.variable.js"
126
],
127
"function.defaultLibrary": [
128
"support.function.js"
129
]
130
}
131
},
132
{
133
"language": "javascriptreact",
134
"scopes": {
135
"property": [
136
"variable.other.property.jsx"
137
],
138
"property.readonly": [
139
"variable.other.constant.property.jsx"
140
],
141
"variable": [
142
"variable.other.readwrite.jsx"
143
],
144
"variable.readonly": [
145
"variable.other.constant.object.jsx"
146
],
147
"function": [
148
"entity.name.function.jsx"
149
],
150
"namespace": [
151
"entity.name.type.module.jsx"
152
],
153
"variable.defaultLibrary": [
154
"support.variable.js"
155
],
156
"function.defaultLibrary": [
157
"support.function.js"
158
]
159
}
160
}
161
],
162
"snippets": [
163
{
164
"language": "javascript",
165
"path": "./snippets/javascript.code-snippets"
166
},
167
{
168
"language": "javascriptreact",
169
"path": "./snippets/javascript.code-snippets"
170
}
171
]
172
},
173
"repository": {
174
"type": "git",
175
"url": "https://github.com/microsoft/vscode.git"
176
}
177
}
178
179