SaltyCrane Blog — Notes on JavaScript and web development

How to add line numbers to the editor in Eclipse 3.2 / 3.3

Eclipse 3.2:
  1. From the menu bar, "Window" -> "Preferences..."
  2. Under "General" -> "Editors" -> "Text Editors", click the "Show line numbers" checkbox.
Eclipse 3.3:
  1. CTRL+3
  2. Type in: "line numbers"
  3. ENTER

Comments


#1 Anonymous commented on :

Thanx!


#2 someone commented on :

helped me too... why do they have different menues between the windows and linux version?


#3 jj commented on :

Thank you..


#4 EB commented on :

Thanks a lot.


#5 nargis commented on :

thanks a ton :)


#6 ismet commented on :

thanx, ill pray 4 u before i sleep :)


#7 syzn commented on :

Thanks a lot. A lot faster than searching for it through the millions of sections in Eclipse's preferences.


#8 chits commented on :

Thanx a lot... Its the same in RAD 7. However, the line number is inculded under the tree view, Editor-> Tex Editor...! Happy Coding...!


#9 Nes commented on :

Thanx a lot............:)


#10 Rohit commented on :

Thanks a ton :)


#11 Nightmare commented on :

Thanks very much!


#12 Amrutha commented on :

thank u:-). hav a nice day.......


#13 Muthukumar commented on :

Thanks for the info


#14 manju sahu commented on :

thanks :)


#15 praba commented on :

Thanks


#16 Antonio Leite commented on :

in this file

[workspace].metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.ui.editors.prefs

make sure the parameter

lineNumberColor=0,0,0

is NOT 255,255, 255, which is white


#17 shivin commented on :

Thanks a lot for the info...


#18 Thilina commented on :

Thank U


#19 IK commented on :

Thanks a heap!


#20 mas2 commented on :

thanks


#21 myjoe commented on :

Thank you! Helped me too!


#22 McDucky commented on :

Thank you very much!


#23 Saurabh Gandhi commented on :

Thanks :)


#24 yogesh commented on :

Thanks a lot It really helped me :)


#25 Prabhu commented on :

Helpful, thanks!!


#26 anonymous commented on :

Is thr any shortcut key to do the same??


#27 chundru suresh commented on :

Thanks friend.......


#28 yoyu87 commented on :

gracias!! i liked this cntrl+3 hotkey... regards from spain!


#29 janki commented on :

thanks ...very useful..


#30 anoni commented on :

ty!


#31 jym338 commented on :

Thanks a lot!!


#32 Rajput Sandip commented on :

Many Thanks....

disqus:1896139773