Skip to content

Moving from CFEclipse to CF Builder: First Experience

July 20, 2009

This morning I held my breath and made the switch from CFEclipse to ColdFusion Builder. To keep things clean, I decided to install the standalone version. The install itself was painless, and so far CFB seems really snappy.

The first thing I did when it opened was point it at my old CFEclipse workspace so that I wouldn’t have to import my projects. In order to do this CFEclipse must be closed. Go to File > Switch Workplace > Other and browse to your old workplace folder. CFB will have to restart itself, but it does so very quickly. After starting back up, the first thing I noticed was that the snippets were missing. Snippets and shortcuts are important to me, and I really didn’t want to have to create them all over again, so I dug around in my workspace metadata and found them.

By default, cfeclipse seems to store them all in [workspaceroot]\.metadata\.plugins\org.cfeclipse.cfml\snippets.  If you changed this folder in CFEclipse, all you have to do is (in CF Builder) go to Window > Preferences > ColdFusion > Snippets and update your snippet path. Since I’m moving away from CFE, I figured it would make more sense to not rely on a CFE folder to store my snippets, so I copied all the xml files from the default path above into [workspaceroot]\.metadata\snippets, closed the Snippets view, and opened it up again, and they all popped up.

Advertisement
3 Comments leave one →
  1. Brian FitzGerald permalink
    July 20, 2009 3:58 pm

    Hey there Dominic! I recently switched to CFBuilder myself but haven’t been able to figure out the trigger text for snippets. Do you know if there somewhere you can set what it should be? I looked in preferences and didn’t see anything. And I tried ctrl+j, which I thought it was before to no avail. Have you been able to get it to work for you?

    Best,
    Brian

    • Dominic permalink*
      July 20, 2009 4:13 pm

      Hi Brian, ctrl+j is still working for me. One thing I did notice while testing is that it won’t work if your text is directly adjacent to any other character.
      For example, some code triggertext[ctrl+j] will work, but somecodetriggertext[ctrl+j] will not.

  2. Brian FitzGerald permalink
    July 20, 2009 7:39 pm

    Thanks for the tip Dominic, I’ll give that a try.

Leave a Reply

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

Gravatar
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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.