-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
228 lines (228 loc) · 10.1 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"name": "al-toolbox",
"displayName": "AL Toolbox",
"description": "AL Language Regions and Snippets",
"version": "2.0.31",
"publisher": "BartPermentier",
"icon": "resources/ALTB.png",
"engines": {
"vscode": "^1.42.0"
},
"repository": {
"type": "git",
"url": "https://github.com/BartPermentier/al-toolbox"
},
"keywords": [
"Dynamics NAV",
"Dynamics 365 Business Central",
"AL"
],
"categories": [
"Other",
"Snippets"
],
"activationEvents": [
"onLanguage:al",
"onCommand:al-toolbox.createRelatedTables",
"onCommand:al-toolbox.renumberAll",
"onCommand:al-toolbox.changePrefix",
"onCommand:al-toolbox.initGitignore",
"onCommand:al-toolbox.renumberAllFields"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "al-toolbox.createRelatedTables",
"title": "ALTB: Start Project: Create Related Tables"
},
{
"command": "al-toolbox.openRelatedTables",
"title": "ALTB: Open Related Tables"
},
{
"command": "al-toolbox.openRelatedPages",
"title": "ALTB: Open Related Pages"
},
{
"command": "al-toolbox.openRelatedTablesAndPages",
"title": "ALTB: Open Related Tables and Pages"
},
{
"command": "al-toolbox.wrapAllFunctions",
"title": "ALTB: Create regions for all AL functions and triggers"
},
{
"command": "al-toolbox.wrapAllDataItemsAndColumns",
"title": "ALTB: Create regions for all AL dataitems and columns"
},
{
"command": "al-toolbox.wrapAll",
"title": "ALTB: Create regions for all AL functions, triggers, dataitems, and columns"
},
{
"command": "al-toolbox.renumberAll",
"title": "ALTB: Renumber AL objects"
},
{
"command": "al-toolbox.changePrefix",
"title": "ALTB: Change object prefix"
},
{
"command": "al-toolbox.copyFieldsToRelatedTables",
"title": "ALTB: Copy fields to related tables"
},
{
"command": "al-toolbox.initGitignore",
"title": "ALTB: init .gitignore"
},
{
"command": "al-toolbox.addRegion",
"title": "ALTB: Add region"
},
{
"command": "al-toolbox.generateSetLoadFields",
"title": "ALTB: Generate SetLoadFields"
},
{
"command": "al-toolbox.renumberFields",
"title": "ALTB: Renumber fields"
},
{
"command": "al-toolbox.renumberAllFields",
"title": "ALTB: Renumber all fields"
}
],
"configuration": [
{
"title": "AL Toolbox Configurations",
"properties": {
"ALTB.UseOldFileNamingConventions": {
"type": "boolean",
"default": true,
"description": "Use '<ObjectPrefix>(<ExtenedObjectId>-Ext)?<ObjectId>.<ObjectNameExcludingPrefix>.al' instead of '<ObjectNameExcludingPrefix>.<FullTypeName>(Ext)?.al' for file names.",
"scope": "resource"
},
"ALTB.DisableAPIEntityWarnings": {
"type": "boolean",
"default": false,
"description": "Disables errors for duplicate EntityName and/or EntitySetName from API pages that have the same APIPublisher, APIGroup, and APIVersion.",
"scope": "window"
},
"ALTB.AdditionalRelatedObjects": {
"type": "array",
"default": [],
"description": "Adds additional related pages and tables. These are used while navigating and creating related tables.\nNote that this only works for PageExtensions and TableExtensions, not your own Pages and Tables.\n\nThe syntax can be found in the AL Toolbox repository: src/constants.js -> RelatedObjects.",
"scope": "resource"
},
"ALTB.PutCreatedRelatedObjectsInSeparateFolders": {
"type": "boolean",
"default": true,
"description": "If false all objects created with 'ALTB: Start Project: Create Related Tables' is put in there respective object folder. If true each group of related objects are put in a subfolder of that object folder.",
"scope": "resource"
},
"ALTB.UseAlRegions": {
"type": "boolean",
"default": true,
"description": "Use the standard AL regions instead of the regions previously used by this extension (No longer with '//'). This will only have effect if the runtime in app.json is higher than or equal to 6.0.",
"scope": "window"
},
"ALTB.DisableCustomFolding": {
"type": "boolean",
"default": false,
"description": "Disable all folding provided by this extension (requires reload).",
"scope": "application"
},
"ALTB.RegionColor": {
"type": "string",
"default": "#569CD6",
"description": "Region marker color ((//?)#(end?)region). Set to \"\" to disable coloring.",
"scope": "application"
},
"ALTB.RegionTextColor": {
"type": "string",
"default": "#D4D4D4",
"description": "Color of text after region markers. Set to \"\" to disable coloring.",
"scope": "application"
},
"ALTB.DisableSnippets": {
"type": "boolean",
"default": false,
"description": "Disable all AL Toolbox snippets (requires reload). Our snippets start with 'r'.",
"scope": "application"
},
"ALTB.UseSimpleFunctionSnippets": {
"type": "boolean",
"default": false,
"description": "The AL Toolbox function snippets will be simplified so a custom completion provider can be used.",
"scope": "application"
},
"ALTB.snippetTargetLanguage": {
"type": "string",
"default": "NLB",
"description": "Primary target language identifier used for translations",
"scope": "resource",
"pattern": "^([a-z]{2}-[A-Z]{2})$|^[A-Z]{3}$",
"patternErrorMessage": "Supported formats: xx-XX or XXX (for example: nl-BE or NLB)"
},
"ALTB.snippetTargetLanguage2": {
"type": "string",
"default": "FRB",
"description": "Secondary target language identifier used for translations",
"scope": "resource",
"pattern": "^([a-z]{2}-[A-Z]{2})$|^[A-Z]{3}$",
"patternErrorMessage": "Supported formats: xx-XX or XXX (for example: fr-BE or FRB)"
},
"ALTB.DisableHoverProviders": {
"type": "boolean",
"default": false,
"description": "Disable Hover Providers (requires reload). AL Toolbox shows the field description on hover.",
"scope": "application"
},
"ALTB.CheckCommentTranslations": {
"type": "boolean",
"default": false,
"description": "Checks if label comments match the format required by the 'AL Language Tools' extension for generating XLIFF files",
"scope": "resource"
},
"ALTB.TelemetryIdentifier": {
"type": "string",
"default": "External",
"description": "Custom identifier for Application Insights",
"scope": "resource",
"pattern": "^[A-Za-z0-9]{0,10}$",
"patternErrorMessage": "Maximum 10 characters (A-Z, a-z, 0-9)"
},
"ALTB.SourceCodeFolderName": {
"type": "string",
"default": "src",
"description": "Name of the root folder where the AL source code is located.",
"scope": "resource",
"pattern": "^[^<>:\"\/\\|?*]+$",
"errorMessage": "Please provide a valid folder name."
}
}
}
]
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/vscode": "^1.42.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"dependencies": {
"glob": "7.1.6"
},
"extensionDependencies": [
"andrzejzwierzchowski.al-code-outline"
]
}