You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/extensions/clle/index.mdx
+56-29Lines changed: 56 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,73 +25,100 @@ Or it can be installed from the Extension view inside Visual Code.
25
25
</CardGrid>
26
26
## Content Assist
27
27
28
-
Content Assist is triggered by `Ctrl+space`. This is best explained by examples.
28
+
Suppose you want to create a data area with the CRTDTAARA command. Enter CRTDTAARA __follwed by a space__, then press _Ctrl+Space_ to invoke Content Assist to produce a pick list like this:
Suppose you want to create a data area with the CRTDTAARA command. Enter CRTDTAARA __follwed by a space__, like this: 
32
+
<CardGrid><Card>
33
33
34
-
Press `Ctrl+space` to invoke Content Assist to produce a pick list like this:
Press _Enter_ or _Tab_ to accept the highlighted _All parameters_ from the pick list and a skeleton command is created.
36
35
37
-
Press `enter` or `tab` to accept the highlighted "`All parameters`" from the pick list and a skeleton command is created: 
36
+
</Card><Card>
38
37
39
-
The cursors is in the first parameter value `DTAARA`. Enter the data area name, then press the `tab` key to move the cursor to the next parameter, `TYPE`: 
Press `Ctrl+space` to produce a pick list of valid types: 
40
+
</Card></CardGrid>
42
41
43
-
Highlight `*CHAR`, then `tab` to move to the `LENGTH` parameter. Enter 20, then tab to `VALUE`. The value can be a text string or it can be a variable. Use`Ctrl+space` to get a pick list of variables (just one in this example): 
42
+
<CardGrid><Card>
44
43
45
-
Chose the variable. Delete the other unneeded parameter and you have a completed command: 
44
+
Use`Ctrl+space` to get a pick list of special values or available variables (just one in this example):
If you are familar with a command, you do not have to create a skeleton with all parameters. Suppose you have typed this far: 
50
+
</Card></CardGrid>
51
51
52
-
When you type `t` a pick list of parameters that start with `t` is provided: 
52
+
### Content Assist Snippets
53
53
54
-
If a pick list is too long, you can enter additional characters to reduce it. In this case, if you entered `ty` only `TYPE` would appear in the pick list.
54
+
Prompting of most CL commands requires a connection to a server. However, there are a number of commands that are provided as snippets, which don't require a connection. `DCL`, for example, is provided as a snippet.
55
55
56
-
Select `TYPE` and the cursor is in the type value field where you can do `Ctrl+space` to get a pick list of valid types: 
56
+
<CardGrid><Card>
57
57
58
+
To declare a variable, enter just `d` and get a list of commands that begin with `d`:
58
59
59
-
### Content Assist Snippets
60
+
</Card><Card>
60
61
61
-
Prompting of most CL commands requires a connection to a server. However, there are a number of commands that are provided as snippets, which don't require a connection. `DCL`, for example, is provided as a snippet.
If all the valid valued for `TYPE` are know, just enter a valid value, for example `*CHAR`. Or delete the highlighted value and key _Ctrl+Space_ to get a pick list of the valid values:
If all the valid valued for "`TYPE`" are know, just enter a valid value, for example "*CHAR". Or delete the highlighted value and key `Ctrl+Space` to get a pick list of the valid values:
94
+
</Card></CardGrid>
95
+
96
+
<CardGrid><Card>
97
+
98
+
If all the valid valued for `TYPE` are know, just enter a valid value, for example `*CHAR`. Or delete the highlighted value and key _Ctrl+Space_ to get a pick list of the valid values:
0 commit comments