-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
259 lines (258 loc) · 9.17 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
"name": "vscode-ibmi-walkthroughs",
"displayName": "Code for IBM i Walkthroughs",
"description": "Adds walkthroughs for IBM i development in VS Code",
"version": "0.5.0",
"icon": "content/icon.png",
"author": {
"name": "Halcyon Tech Ltd",
"url": "https://github.com/halcyon-tech"
},
"publisher": "halcyontechltd",
"repository": {
"url": "https://github.com/halcyon-tech/vscode-ibmi-walkthroughs"
},
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"keywords": [
"ibmi"
],
"main": "./extension.js",
"contributes": {
"commands": [],
"walkthroughs": [
{
"id": "code-ibmi-start",
"title": "Getting started with Code for IBM i",
"description": "Get started with what you need to write code with Code for IBM i.",
"steps": [
{
"id": "connect",
"title": "Connect to an IBM i",
"description": "Connect to an IBM i using the button in the Code for IBM i panel",
"media": {"markdown": "./content/code-ibmi-start/connect.md"},
"completionEvents": ["onContext:code-for-ibmi:connected"]
},
{
"id": "opensourcefile",
"title": "Open a source file",
"description": "Opening a source file is key. Source files contain a list of editable source members.",
"media": {"markdown": "./content/code-ibmi-start/opensourcecode.md"},
"completionEvents": ["onCommand:code-for-ibmi.addSourceFile"]
},
{
"id": "librarylist",
"title": "Manage your library list and current library",
"description": "Before you can compile any source code, you need to make sure the library list is correct. Try and add an item to your library list!",
"media": {"markdown": "./content/code-ibmi-start/addlible.md"},
"completionEvents": ["onCommand:code-for-ibmi.addToLibraryList"]
},
{
"id": "compile",
"title": "Compiling code",
"description": "Now we can open code and know how to manage the library list, it's time to compile some code!",
"media": {"markdown": "./content/code-ibmi-start/compile.md"},
"completionEvents": ["onCommand:code-for-ibmi.runAction"]
}
]
},
{
"id": "code-ibmi-actions",
"title": "Code for IBM i Actions",
"description": "Actions are the way to manage your compile options. You can add, remove, and edit actions. You have to be connected first!",
"steps": [
{
"id": "viewactions",
"title": "View actions",
"description": "There is a special window you can use to view your actions.",
"media": {"markdown": "./content/code-ibmi-actions/viewactions.md"},
"completionEvents": ["onCommand:code-for-ibmi.showActionsMaintenance"]
},
{
"id": "maintainaction",
"title": "Add an action",
"description": "You can add an action by clicking the button in the Code for IBM i panel.",
"media": {"markdown": "./content/code-ibmi-actions/maintainaction.md"}
},
{
"id": "runaction",
"title": "Run an action",
"description": "You can run an action by using a shortcut when you have code open.",
"media": {"markdown": "./content/code-ibmi-actions/runaction.md"},
"completionEvents": ["onCommand:code-for-ibmi.runAction"]
},
{
"id": "runactionfrompanel",
"title": "Run an action from a panel",
"description": "You can run actions without opening any code.",
"media": {"markdown": "./content/code-ibmi-actions/runactionfrompanel.md"},
"completionEvents": ["onCommand:code-for-ibmi.runAction"]
}
]
},
{
"id": "code-ibmi-ifsBrowser",
"title": "Code for IBM i IFS Browser",
"description": "The IFS Browser is a way to browse IFS files. You can use it to browse your IFS files and folders.",
"steps": [
{
"id": "usingifsbrowser",
"title": "Using the IFS Browser",
"description": "What you need to know when using the IFS Browser",
"media": {"markdown": "./content/code-ibmi-ifsBrowser/usingifsbrowser.md"}
},
{
"id": "changeworkingdir",
"title": "Change the working directory",
"description": "Change your home directory will allow you to work with more files",
"media": {"markdown": "./content/code-ibmi-ifsBrowser/changeworkingdir.md"},
"completionEvents": ["onCommand:code-for-ibmi.changeHomeDirectory"]
},
{
"id": "ifstips",
"title": "IFS Browser Tips",
"description": "Just a couple of additional tips for using the IFS Browser",
"media": {"markdown": "./content/code-ibmi-ifsBrowser/ifstips.md"}
}
]
},
{
"id": "code-ibmi-local",
"title": "Local Development with ILE",
"description": "Writing and building RPGLE, COBOL or other ILE languages on your local machine",
"steps": [
{
"id": "workspace",
"title": "Opening a Workspace",
"when": "workspaceFolderCount == 0",
"description": "Open a local directory into your Workspace.",
"media": {"markdown": "./content/code-ibmi-local/workspace.md"}
},
{
"id": "connect",
"title": "Connecting to a system",
"description": "Connect to the system you want to build on.",
"media": {"markdown": "./content/code-ibmi-local/connect.md"},
"completionEvents": ["onContext:code-for-ibmi:connected"]
},
{
"id": "actions-create",
"title": "Creating local Actions",
"description": "Create local Actions to execute a deploy and build.",
"media": {"markdown": "./content/code-ibmi-local/actions-create.md"}
},
{
"id": "actions-running",
"title": "Running local Actions",
"description": "Run the deploy and build to get results.",
"media": {"markdown": "./content/code-ibmi-local/actions-running.md"},
"completionEvents": ["onCommand:code-for-ibmi.runAction"]
},
{
"id": "git",
"title": "Using git with local source",
"description": "When you use a local repository, you can use the local git client.",
"media": {"markdown": "./content/code-ibmi-local/git.md"}
}
]
},
{
"id": "code-ibmi-tips",
"title": "Code for IBM i Tips",
"description": "Some tips for using Code for IBM i",
"steps": [
{
"id": "compare",
"title": "Source comparison",
"description": "Compare two sources with simple right click options.",
"media": {"markdown": "./content/code-ibmi-tips/compare.md"},
"completionEvents": ["onCommand:code-for-ibmi.compareWithSelected"]
},
{
"id": "runSql",
"title": "Run SQL inline",
"description": "Run SQL queries directly from files with the SQL extension.",
"media": {"markdown": "./content/code-ibmi-tips/runSql.md"},
"completionEvents": ["onCommand:code-for-ibmi.runEditorStatement", "onExtensionInstalled:halcyontechltd.vscode-db2i"]
},
{
"id": "searchSourceMembers",
"title": "Search source members",
"description": "Search the content of source members easily.",
"media": {"markdown": "./content/code-ibmi-tips/searchSourceMembers.md"},
"completionEvents": ["onCommand:code-for-ibmi.searchSourceFile"]
},
{
"id": "rpgContentAssist",
"title": "RPGLE content-assist",
"description": "Did you know Code for IBM i provides content-assist for RPG?",
"media": {"markdown": "./content/code-ibmi-tips/rpgContentAssist.md"}
},
{
"id": "spoolFiles",
"title": "Spool Files",
"description": "It's possible to view spool files from compilications",
"media": {"markdown": "./content/code-ibmi-tips/spoolFiles.md"}
}
]
},
{
"id": "code-ibmi-rpgle",
"title": "RPGLE language tools & linting",
"description": "Learn about the RPGLE language tools",
"steps": [
{
"id": "install",
"title": "Extension installation",
"description": "Install the RPGLE language tools extension",
"media": {"markdown": "./content/code-ibmi-rpgle/install.md"},
"completionEvents": ["onExtensionInstalled:halcyontechltd.vscode-rpgle"]
},
{
"id": "language",
"title": "RPGLE language tools features",
"description": "Understand the basic language tools provided",
"media": {"markdown": "./content/code-ibmi-rpgle/language.md"}
},
{
"id": "linter-configure",
"title": "Configuring the linter",
"description": "Create lint configuration for a project",
"media": {"markdown": "./content/code-ibmi-rpgle/linter-configure.md"},
"completionEvents": ["onCommand:vscode-rpgle.openLintConfig"]
},
{
"id": "linter-autofix",
"title": "Auto-fixing with the linter",
"description": "Autofix issues in your RPGLE code",
"media": {"markdown": "./content/code-ibmi-rpgle/linter-autofix.md"},
"completionEvents": ["onCommand:vscode-rpgle.fixAllErrors"]
}
]
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.59.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
}
}