I've been stumbling upon this bug for a while now, and keep having to remember how to fix it. Tired of googling it every time (and it's never in the top results), I thought I'd write a short entry on how to enable line numbers when there doesn't seem to be an option for it in CFEclipse 1.3.1.6.
There's actually a bug filed over at the CFElipse tracker, so I'm guessing this will be resolved in the next release. In the meantime, here is the fix I found towards the middle of this Google Groups discussion.
Navigate to your Eclipse workspace on your file system. From there, open .metadata, .plugins, .org.eclipse.core.runtime and .settings. Edit the org.cfeclipse.cfml.prefs with notepad and add this line:
lineNumberRuler=true
Close the file and restart Eclipse. Your line numbers should now show in your gutter. Enjoy!
#1 by Jose on 8/6/08 - 10:12 PM
I am new to cfeclipse.
I saw the same instructions in the cfeclipse wiki but I don't seem to find where that file is, my workspace folder is empty (created in my documents folder) I am running cfeclipse 1.3.2beta on eclipse 3.4 in a mac.
Please help!
Thanks
#2 by Francois Levesque on 8/7/08 - 5:30 AM
I don't own a Mac, so I'm sort of shooting blind here. From what I was able to find on the net, the .metadata folder seems to be hidden by default in Finder.
Here's a site I found that details how to turn the display of hidden files/folders in Mac on and off: http://www.osxfaq.com/dailytips/02-2005/02-01.ws.
hth
#3 by Michael on 8/11/08 - 10:36 AM
I am runing Eclipse 3.4.0 and CFEclipse 1.3.1.5, and I don't see the org.cfeclipse.cfml.prefs file in the .settings directory as above.
Any suggestions?
#4 by Francois Levesque on 8/11/08 - 12:22 PM
Are you sure you're looking in your default workspace?
Worst case scenario I'd try uninstalling the CFEclipse plug-in and re-installing it.
hth
#5 by Michael on 8/13/08 - 1:59 PM
Thanks for finding this! This one has had me stumped for a while now.
#6 by Francois Levesque on 8/13/08 - 3:46 PM
#7 by Shigeru on 8/23/08 - 8:11 AM
BTW, Should I set it every workspaces??
#8 by Francois Levesque on 8/23/08 - 10:32 PM
You probably would want to, since I think the settings are distinct per workspace and might not automatically spread to the others.
#9 by Leonid on 9/4/08 - 2:37 PM
Francois Levesque, thanks a bunch!
#10 by Francois Levesque on 9/4/08 - 3:35 PM
I didn't know you could do that, thanks for the info!
#11 by Ryan on 9/29/08 - 12:07 PM
#12 by Gerald Guido on 11/3/08 - 2:22 PM
#13 by Joe Zack on 11/6/08 - 1:13 PM
#14 by Ryan on 12/17/08 - 12:26 PM
#15 by Mike Henke on 12/17/08 - 9:45 PM
#16 by Nicholas Tolley Cottrell on 10/16/09 - 4:19 AM
#17 by Craig on 2/24/10 - 10:09 AM
Thanks for this! Debugging without line numbers is next to impossible!
#18 by Ryan Stille on 4/16/11 - 11:27 AM