Home > Eclipse, Flex Builder > Enable line numbers in CFEclipse

Enable line numbers in CFEclipse

Don’t know how many people this affects, but it’s been annoying me for a while.
When using CFEclipse in Flex Builder/viewing ColdFusion files, line numbers do not show up in the gutter, no matter how many times (or places) that you select “Show Line Numbers”.

In order to fix this, close out of Flex Builder or Eclipse and go to wherever you have Flex Builder preferences installed (which for me was in my “My Documents” on my C: drive), not the main Program Files directory.

This was where mine was located C:\Documents and Settings\(my logged in account)\My Documents\Flex Builder 3\.metadata\.plugins\org.eclipse.core.runtime\.settings

Once you are in this directory, back up then open up
org.cfeclipse.cfml.prefs

Once inside this, add the line
lineNumberRuler=true
and save the file

Now you can open Flex Builder/Eclipse again, and line numbers should be showing up for you when view ColdFusion files.

Just want to thank Francois Levesque over at http://blog.critical-web.com/blog for this.  This has saved me many headaches.

  1. December 11th, 2008 at 01:26 | #1

    I also just found this from the CFEclipse website this week. I suspected it was some weird Mac issue but I guess I should have subscribed to your blog instead. :)

  2. Gareth
    December 11th, 2008 at 12:46 | #2

    Exactly! :)

  1. No trackbacks yet.