Uneclipsing CFEclipse Show Line Numbers
Quick Eclipse and CFEclipse hint. The entry is mainly about turning on CFEclipse line numbers but useful for other hidden Eclipse preferences.
In Eclipse, under Windows —> Preferences are many settings its hard to locate the one you are looking for. Eclipse actually has a built in search/filter. In my screenshot I start typing in "numbers" since I am looking for turning on line numbers. I could look for font, startup, etc. All the preferences filter so only matching settings are left.

You might think you have turned on Line numbers for CFEclipse but actually it is for Eclipse. You will need to switch on a line number setting specific for CFEclipse. This setting actually doesn't work for the filter but my last screen shot shows were it is located. Restart any open CFEclipse files and now the line numbers should appear.





Posted under: 


This was very helpful! Thank you!
THANK YOU ... saved me a few gray hairs.
Thanks Mike! I just reinstalled Eclipse and was looking for that!
hi, i am using Eclipse 3.5.1 and in that i am using CFEclipse. i know all the above settings in Eclipse. i tried that too but still no luck.
do u know we can edit some config files of Eclipse folder and show the line numbers by default.
any idea?
The version of CFEclipse really matters. This "show line number" duplication was fixed with a release after this post. After checking "show line numbers", you may have to close and re-open any files that were open. Another option, though I don't think it is related is to start eclipse/cfbuilder with -clean.
i tried -clean too but no luck as of yet.
Mike I tried everything you had here but still couldn't get the line numbers to display. Here is what I had to go to get my line numbers to turn on in CFEclipse:
1) Shut down Eclipse
2) Go to my workspace directory, then into the .metadata\.plugins\org.eclipse.core.runtime\.settings directory under that.
3) Create a file named org.cfeclipse.cfml.prefs
4) Place this line in it:
lineNumberRuler=true
5) Restart Eclipse.
Its that easy! :-)
Thanks to this blog post for helping: http://blog.critical-web.com/blog/index.cfm/2008/8/3/Enabling-Line-Numbers-In-CFEclipse-1316-On-Eclipse-Ganymede-34
thx ryan, your hack was the one that was working 4 me ;-)