To generate a plug-in project for editor extensions, use
the New Plug-in Project wizard.
Procedure
- Open the Plugin Development perspective.
- On the main menu of the workbench, click .
- In the New Project wizard, expand Plug-in
Development, select Plug-in Project,
and click Next. The New
Plug-in Project wizard opens.
- In the Project name field of the Plug-in
Project page, enter a name for the new project and click Next. For example, you might create a plug-in project named systemz.common.editor.extensionpoints.
- In the ID field of the Content page,
enter an ID for the new project and click Next. The default value uses the plug-in name for the ID, such as systemz.common.editor.extensionpoints.
- Click Finish. The
wizard creates a plug-in project, adds the project to the Package
Explorer view, and opens the manifest file in the plug-in
manifest editor.
- If you did not already open the Plug-in Development perspective,
open it when prompted.
- On the Extensions page, click Add. The New Extension window opens.
- To add an extension point for
a new preprocessor or for content assist:
- Clear the check box beside Show only extension
points from the required plug-ins. This
action populates the extension Points list with all available extension
points.
- Select the extension point to add to the plug-in:
- com.ibm.systemz.editor.preprocessorBehavior to
add a preprocessor extension
- com.ibm.systemz.editor.completionProposalComputer to
add a content assist extension
- Repeat step 9 for each
extension you want to add.