-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
213 lines (213 loc) · 7.78 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"name": "advpl-switch-project",
"displayName": "AdvPL Project Manager",
"description": "Suporte a gerenciamento de Projetos AdvPL para VSCode.",
"version": "0.7.5",
"publisher": "AlencarGabriel",
"icon": "images/Icon2.png",
"homepage": "https://github.com/AlencarGabriel/advpl-switch-project",
"repository": {
"type": "git",
"url": "https://github.com/AlencarGabriel/advpl-switch-project.git"
},
"bugs": {
"url": "https://github.com/AlencarGabriel/advpl-switch-project/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"recommendations": [
"killerall.advpl-vscode"
],
"activationEvents": [
"onLanguage:advpl",
"onLanguage:4gl",
"onCommand:switch.switchProject"
],
"main": "./out/extension",
"contributes": {
"menus": {
"view/item/context": [
{
"command": "switch.setDefault",
"when": "view == serversManagement && viewItem =~ /Environment/",
"group": "switchProject"
},
{
"command": "switch.addProject",
"when": "view == serversManagement && viewItem =~ /Environment/",
"group": "switchProject"
},
{
"command": "switch.delProject",
"when": "view == serversManagement && viewItem =~ /Environment/",
"group": "switchProject"
}
],
"view/title": [
{
"command": "switch.enableEnvironments",
"when": "view == serversManagement",
"group": "navigation"
},
{
"command": "switch.disableEnvironments",
"when": "view == serversManagement",
"group": "navigation"
}
]
},
"commandPalette": [
{
"command": "switch.setDefault",
"when": "config.noExists"
},
{
"command": "switch.addProject",
"when": "config.noExists"
},
{
"command": "switch.delProject",
"when": "config.noExists"
}
],
"commands": [
{
"command": "switch.switchProject",
"title": "Advpl - Trocar projeto ativo"
},
{
"command": "switch.removeLastWorkspace",
"title": "Advpl - Remover últimos projetos"
},
{
"command": "switch.disableEnvironments",
"title": "Advpl - Mostrar apenas ambientes do Projeto atual",
"icon": {
"light": "images/fold.svg",
"dark": "images/fold_dark.svg"
}
},
{
"command": "switch.enableEnvironments",
"title": "Advpl - Mostrar todos os ambientes",
"icon": {
"light": "images/unfold.svg",
"dark": "images/unfold_dark.svg"
}
},
{
"command": "switch.removeLastWorkspace",
"title": "Advpl - Ocultar todos os Projetos"
},
{
"command": "switch.enableProjects",
"title": "Advpl - Mostrar todos os Projetos"
},
{
"command": "switch.setDefault",
"title": "Definir como Padrão"
},
{
"command": "switch.addProject",
"title": "Associar ao Projeto"
},
{
"command": "switch.delProject",
"title": "Desassociar do Projeto"
}
],
"configuration": {
"type": "object",
"title": "Titulo",
"properties": {
"advpl.projectActive": {
"type": "string",
"description": "Projeto padrão do Workspace"
},
"advpl.onlyRelatedEnvironments": {
"type": "boolean",
"default": false,
"description": "Mostrar somente os ambientes vinculados ao projeto"
},
"advpl.foldersProject": {
"type": "array",
"default": [],
"description": "Pastas do projeto",
"items": {
"type": "object",
"properties": {
"path": {
"deprecationMessage": "Usar atributo de array 'paths' no lugar deste",
"type": "string",
"default": "",
"description": "Caminho da pasta do projeto"
},
"paths": {
"type": "array",
"default": [],
"description": "Pastas do projeto",
"items": {
"type": "string",
"uniqueItems": true
}
},
"name": {
"type": "string",
"default": "",
"description": "Alias para o projeto"
},
"environments": {
"type": "array",
"default": [],
"description": "Ambientes da configuração advpl.environments relacionados a este projeto",
"items": {
"type": "string",
"examples": [
"advpl.environments[x].name",
"advpl.environments[x].environment"
],
"uniqueItems": true,
"description": "Nome do ambiente da configuração advpl.environments relacionado a este projeto"
}
},
"environment_default": {
"type": "string",
"default": "",
"examples": [
"advpl.environments[x].name",
"advpl.environments[x].environment"
],
"description": "Ambiente padrão do Projeto"
}
}
}
},
"advpl.showProjectPath": {
"type": "boolean",
"default": true,
"description": "Mostra o caminho do projeto na lista de Projetos"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.50.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
}
}