Creating a plugin

From Aptana Development

This page describes how to create a new plugin for Aptana.

Instructions

To create a new plugin for Aptana:

  1. From the File menu, select New > Project.
  2. On the New Project window, select Plug-in Project.
  3. Click the Next button.
  4. Name the project using com.aptana.ide.editor.XXX naming scheme.
  5. Browse to the location where you'd like to create the plug-in directory. (The default location is fine.)
  6. All other settings should be set correctly by default. Make sure they match the image below.

    New Plug-in Project Dialog

  7. Click the Next button.
  8. Set your plug-in properties following the image below.

    New Plug-in Project Dialog

    Note: The values in "Plug-in Version", "Plug-in Name", and "Plug-in Provider". "Plug-in Version" will change, so use what's appropriate currently. Also, since this is an editor, you need to make sure "This plug-in will make contributions to the UI" is checked.

  9. Click the Finish button.
  10. See Adding a plugin to the build process for additional details on adding a new plug-in.

Core References

You will need to make sure that you have the minimal set of required dependencies defined in your plug-in.

  1. Open your plug-in's plugin.xml file
  2. Navigate to the Dependencies tab
  3. Click the Add... button and add each dependency as seen in the following image.

Minimal set of required plug-ins for an editor

Related Topics


Aptana Developer Home