CFEclipse: Adding an extension
January 17, 2007
UPDATE:
Mark Drew has enlightened me on the appropiate, SAFE way to do this.
- Open Eclipse if not already open
- Clicks Window -> Preferences -> General -> Editors -> File Associations
- Click Add next to the top window and enter the file extension. Remember that you enter it in as *.<whatever>.
- Then select the extension you just entered and in the bottom window click the Add button
- Choose which editor you want to associate the file extension with, in this case CFEclipse.
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!
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.
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
January 17, 2007 at 8:00 pm
@Mark,
thanks for showing me the light
I’ve updated my post with your comments and instructions.
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