Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "ginga-code",
"displayName": "Ginga Code",
"description": "VS Code extension for execution of Ginga application",
"version": "0.2.0",
"publisher": "ginga-org-br",
"icon": "ginga-logo.png",
"repository": {
"type": "git",
"url": "https://github.com/ginga-org-br/ginga-code"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Debuggers",
"Other"
],
"main": "./src/extension.js",
"activationEvents": [
"onLanguage:xml",
"onLanguage:ncl",
"onLanguage:html",
"onCommand:ginga.openPlayer",
"onCommand:ginga.checkForUpdate",
"workspaceContains:**/*.ncl",
"workspaceContains:**/*.html",
"onStartupFinished"
],
"contributes": {
"languages": [
{
"id": "xml",
"extensions": [
".ncl"
]
},
{
"id": "html",
"extensions": [
".html"
]
}
],
"commands": [
{
"command": "ginga.openPlayer",
"title": "Run Ginga Application",
"icon": "$(play)"
},
{
"command": "ginga.checkForUpdate",
"title": "Check for Ginga Player Updates",
"category": "Ginga"
}
],
"menus": {
"editor/title": [
{
"command": "ginga.openPlayer",
"when": "editorLangId == xml || editorLangId == html || resourceExtname == .ncl || resourceExtname == .html",
"group": "navigation"
}
],
"editor/context": [
{
"command": "ginga.openPlayer",
"when": "editorLangId == xml || editorLangId == html || resourceExtname == .ncl || resourceExtname == .html",
"group": "navigation"
}
]
},
"configuration": {
"title": "Ginga Configuration",
"properties": {
"vscode.gingafExePath": {
"type": "string",
"default": "",
"description": "Absolute path to the Ginga player (gingaf) executable."
}
}
}
},
"scripts": {
"test": "node test/extension.test.js"
},
"devDependencies": {
"vscode": "^1.1.37"
}
}