Enabling Line Numbers In CFEclipse 1.3.1.6 (On Eclipse Ganymede 3.4)
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!


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
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
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?
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
Thanks for finding this! This one has had me stumped for a while now.
BTW, Should I set it every workspaces??
You probably would want to, since I think the settings are distinct per workspace and might not automatically spread to the others.
Francois Levesque, thanks a bunch!
I didn't know you could do that, thanks for the info!