Rip's Domain

CFEclipse: Adding an extension

Posted in CFEclipse, ColdFusion by rip747 on January 17, 2007

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

Subscribe to comments with RSS.

  1. Mark Drew said, on January 17, 2007 at 12:26 pm

    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 said, on January 17, 2007 at 12:54 pm

    @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 said, on January 17, 2007 at 3:04 pm

    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 said, on January 17, 2007 at 8:00 pm

    @Mark,

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

  5. Mark Drew said, on January 18, 2007 at 6:05 am

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

    MD


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: