forked from renpy/vscode-language-renpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
193 lines (193 loc) · 6.89 KB
/
package.json
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "languague-renpy",
"displayName": "Ren'Py Language",
"description": "Adds rich support for the Ren'Py programming language to Visual Studio Code.",
"version": "2.0.12",
"publisher": "LuqueDaniel",
"license": "MIT",
"homepage": "https://github.com/LuqueDaniel/vscode-language-renpy",
"repository": {
"type": "git",
"url": "https://github.com/LuqueDaniel/vscode-language-renpy"
},
"bugs": {
"url": "https://github.com/LuqueDaniel/vscode-language-renpy/issues"
},
"icon": "icon.png",
"galleryBanner": {
"color": "#734675",
"theme": "dark"
},
"keywords": [
"python",
"renpy"
],
"categories": [
"Programming Languages",
"Snippets"
],
"engines": {
"vscode": "^1.63.0"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"activationEvents": [
"workspaceContains:**/*.rpy"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "renpy",
"aliases": [
"Ren'Py",
"renpy"
],
"extensions": [
".rpy",
".rpym"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./renpy.svg",
"dark": "./renpy.svg"
}
}
],
"grammars": [
{
"language": "renpy",
"scopeName": "source.renpy",
"path": "./syntaxes/renpy.tmLanguage.json"
}
],
"snippets": [
{
"language": "renpy",
"path": "./snippets/snippets.json"
}
],
"commands": [
{
"command": "renpy.refreshNavigationData",
"title": "Refresh Ren'Py Navigation Data"
},
{
"command": "renpy.compileNavigationData",
"title": "Compile Ren'Py Navigation Data"
},
{
"command": "renpy.refreshDiagnostics",
"title": "Refresh Ren'Py diagnostics for the active editor window"
}
],
"configuration": [
{
"title": "Ren'Py",
"properties": {
"renpy.excludeCompiledFilesFromWorkspace": {
"type": "boolean",
"default": true,
"description": "Exclude *.rpyc, *.rpa, *.rpymc files and the cache/ folder from the workspace explorer. (This will add a .vscode settings file to your workspace)"
},
"renpy.watchFoldersForChanges": {
"type": "boolean",
"default": false,
"description": "Watch resource folders, such as images and audio, for file changes. (This may not be fully supported on all platforms.)"
},
"renpy.showAutomaticImagesInCompletion": {
"type": "boolean",
"default": true,
"description": "Show Automatic Images in the displayable auto-completion list. If not checked (false), only images defined in the script will be shown. If checked (true), both script-defined images and images detected in the images folders will be shown."
},
"renpy.warnOnObsoleteMethods": {
"type": "boolean",
"default": true,
"description": "Enable obsolete method warnings. If checked (true), obsolete methods (e.g., im.Crop) will be marked with a warning in the editor."
},
"renpy.warnOnUndefinedPersistents": {
"type": "boolean",
"default": true,
"description": "Enable undefined persistent warnings. If checked (true), persistent variables will be marked with a warning in the editor if they haven't been defaulted/defined."
},
"renpy.warnOnUndefinedStoreVariables": {
"type": "boolean",
"default": true,
"description": "Enable undefined store variable warnings. If checked (true), store variables will be marked with a warning in the editor if they haven't been defaulted/defined."
},
"renpy.warnOnReservedVariableNames": {
"type": "boolean",
"default": true,
"description": "Enable reserved variable warnings. If checked (true), variables will be marked with an error in the editor if they are in the list of names reserved by Python."
},
"renpy.warnOnInvalidVariableNames": {
"type": "string",
"default": "Error",
"enum": [
"Error",
"Warning",
"Disabled"
],
"enumDescriptions": [
"Display invalid variable name issues as errors",
"Display invalid variable name issues as warnings",
"Ignore invalid variable name issues"
],
"description": "Enable invalid variable warnings. Variables must begin with a letter or number. They may contain a '_' but may not begin with '_'. If set to Warning or Error, variables will be flagged in the editor if they do not meet Ren'Py's specifications."
},
"renpy.warnOnIndentationAndSpacingIssues": {
"type": "string",
"default": "Error",
"enum": [
"Error",
"Warning",
"Disabled"
],
"enumDescriptions": [
"Display indentation issues as errors",
"Display indentation issues as warnings",
"Ignore indentation issues"
],
"description": "Enable indentation and inconsistent spacing checks. If set to Error or Warning, tab characters and inconsistent indentation spacing will be marked in the editor. If set to Disabled, indentation issues will be ignored."
},
"renpy.warnOnInvalidFilenameIssues": {
"type": "string",
"default": "Error",
"enum": [
"Error",
"Warning",
"Disabled"
],
"enumDescriptions": [
"Display filename issues as errors",
"Display filename issues as warnings",
"Ignore filename issues"
],
"description": "Enable filename checks. Filenames must begin with a letter or number, and may not begin with '00', as Ren'Py uses such files for its own purposes. If set to Error or Warning, documents will be marked in the editor if the document filename does not meet Ren'Py's specifications. If set to Disabled, filename issues will be ignored."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"lint": "eslint -c .eslintrc.json --ext .ts ./src/"
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.15.0",
"eslint-plugin-import": "^2.26.0",
"typescript": "^4.7.4",
"vscode-test": "^1.6.1"
}
}