UPDATE:

Mark Drew has enlightened me on the appropiate, SAFE way to do this.

  1. Open Eclipse if not already open
  2. Clicks Window -> Preferences -> General -> Editors -> File Associations
  3. Click Add next to the top window and enter the file extension. Remember that you enter it in as *.<whatever>.
  4. Then select the extension you just entered and in the bottom window click the Add button
  5. Choose which editor you want to associate the file extension with, in this case CFEclipse.

5 Responses to “CFEclipse: Adding an extension”

  1. Mark Drew Says:

    That definately comes under the heading of “Giving them enough rope to hang themselves”

    No, really dont mess with the plugin.xml. That is the main controller and plugin definition. Go ahead and add the file extensions though. Even *I* am scared to edit it!

    :)

  2. rip747 Says:

    @mark,

    rope… try chain. :)

    I bet by the end of the day, I’ll have 5 comments from people screwing up their CFEclipse install because they didn’t follow the directions.

  3. Mark Drew Says:

    Well… I might do something about this dammit :) You *should* be able to register cfeclipse as an editor of any type of file… you go to windows -> preferences -> general -> Editors -> File Associations

    Add a *.inc association and select CFEditor.

    This is a lot safer than running with scissors :)

    MD

  4. rip747 Says:

    @Mark,

    thanks for showing me the light :) I’ve updated my post with your comments and instructions.

  5. Mark Drew Says:

    A good way to support the CFEclipse project is if you add this to the Wiki… http://trac.cfeclipse.org

    MD

Leave a Reply