Skip to content

Commit 06a3390

Browse files
Update README.md
1 parent 5ca596e commit 06a3390

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

README.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OPS/REXX Language Support makes AOF rule and OPS/REXX program development easier
1414
- Get hover help on OPS/REXX built-in functions, host environment names, and AOF event variable names
1515
- Get basic error checking for AOF rule and OPS/REXX syntax
1616
- Copy from a library of frequently used OPS/REXX rule snippets
17-
- Issue selected OPS/MVS commands to perform common rule actions and invoke OPS/REXX programs
17+
- Issue selected OPS/MVS commands to perform common rule actions and execute OPS/REXX programs
1818

1919
The OPS/REXX Language Support extension does _not_ provide the ability for you to download from or upload to the mainframe. To access mainframe code while using OPS/REXX Language Support, we recommend Zowe Explorer (see [Recommended Software](#recommended-software)) or Zowe CLI.
2020

@@ -58,28 +58,19 @@ Although it is possible to use OPS/REXX Language Support without access to OPS/M
5858
- When you have multiple instances of OPS/MVS running on a single system, only one instance of the REST API is required.
5959

6060
## Configuring OPS/REXX Language Support for Zowe Explorer (Recommended)
61-
To ensure that data sets accessed through Zowe Explorer are recognized by the extension as **.opsrexx** files, you must create a file association in your VS Code settings.
62-
63-
To create a file association, choose one of the following options.
64-
65-
**Option 1: Create a file association in Workspace Settings**
66-
1. Use the command palette in VS Code (**Ctrl/Cmd + Shift + P**) to locate the Workspace Settings.
67-
2. Scroll down to the **Files: Associations** setting and click **Add Item**.
68-
3. Add `*.REXX(*` to the **Key** field, and `opsrexx` to the **Value** field.
69-
4. Add `*.RULES(*` to the **Key** field, and `opsrexx` to the **Value** field.
70-
71-
**Option 2: Create a file association in User Settings**
72-
1. Use the command palette in VS Code (**Ctrl/Cmd + Shift + P**) to locate the file `settings.json` (User Settings).
73-
2. In `settings.json`, add the lines `"*.REXX(*": "opsrexx"` and `"*.RULES(*": "opsrexx"` under `"files.associations"` as shown in the following example:
74-
75-
```
76-
"files.associations": {
77-
"*.REXX(*": "opsrexx",
78-
"*.RULES(*": "opsrexx",
79-
},
80-
```
81-
82-
After completing the steps for either of these two options, you can use Zowe Explorer to access `.opsrexx` files.
61+
OPS/REXX programs and rules will be automatically recognized as `.opsrexx` files upon opening in VS Code when the first line of the file contains either the comment `/* OPSREXX */` or a rule type identifier, such as `)CMD` or `)MSG` (case-insensitive).
62+
63+
To ensure that data sets not containing those first lines and accessed through Zowe Explorer are recognized by the extension as **.opsrexx** files, you must create a file association in your VS Code settings.
64+
65+
To create a file association:
66+
67+
1. On the VS Code menu bar, click `File`, `Preferences`, and click `Settings` to display the Settings editor.
68+
2. Select the `User` or `Workspace` tab, depending on which settings you want to update (`User` settings are your personal settings for customizing VS Code and apply to all files globally, `Workspace` settings are specific to a project and override user settings. Check the [VS Code documentation](https://code.visualstudio.com/docs/getstarted/settings) for more information).
69+
3. Scroll down to or search for the **Files: Associations** setting and click **Add Item**.
70+
4. Add `**/*QUALIFIER*{,/*}` to the **Key** field, and `opsrexx` to the **Value** field where `QUALIFIER` is the portion of the fully qualified data set path you want to be automatically set as an OPS/REXX file type.
71+
- For example, if you have a fully qualified data set called `OPSS.CCLXSAMP.SAMPLE.RULES`, you could put `**/*RULES*{,/*}` or `**/*CCLXSAMP*{,/*}` in the **key** field to automatically associate all files in any data set with the matching qualifier.
72+
73+
After completing these steps, you can use Zowe Explorer to access `.opsrexx` files.
8374

8475
## Using OPS/REXX Language Support
8576

0 commit comments

Comments
 (0)