- Click
File > New > Project, expand the
Micro Focus PL/I node and choose either:
- Mainframe PL/I Project, which enables you to use JCL, BMS, and macro files with your project.
- PL/I Project, for development of console applications.
Click
Next. The
New PL/I Project dialog box appears.
- In the
Project Name field, type a descriptive name for the project.
- If you have created your own PL/I project templates, you can select one of them from the
Select a project template box.
- Select the
Use default location check box to use the workspace location select when you started
Enterprise Developer
for Eclipse as the location to store the project. Clear the
Use default location check box and click
Browse to use the
Browse For Folder dialog box to select a different location to store the project.
- Click
Finish to create the new project.
If the PL/I perspective which includes the PL/I Explorer and PL/I Editor views has not been enabled, you receive a message box that prompts you to switch to it.
- Click
Yes to open the project in the PL/I perspective.
To add new files to a PL/I Project
When files are added to the project, types are automatically grouped together in appropriate categories in PL/I Explorer: for example
PL/I Source Files,
PL/I Include Files, and
JCL Files. These headings are for usability in the view and are not created in the actual file system.
- To create new files and add them to your project, right-click your project in the PL/I Explorer view, click
File and choose your file type.
When you add a PL/I source file, it is created with a
.pli extension, but
Enterprise Developer also handles files with a
.pl1 extension as PL/I source and groups them accordingly.
- Double-click a file in PL/I Explorer to open it for editing.
The PL/I Editor displays different types of keywords in different colors, which you can change by selecting
Window > Preferences, expanding the
Micro Focus and
PL/I nodes and clicking
PL/I Syntax Coloring.
To import existing files into a PL/I project
- Click your project in the PL/I Explorer view.
- Click
File > Import.
- In the
Import wizard, expand
General, click
File System and click
Next.
- Specify the path to the directory that contains your files in the
From directory field.
- Select the files you want to import and click
Finish.