Monday, December 26, 2011

line Number in Eclipse

line Number in Eclipse

Eclipse အေၾကာင္းကို မေန႕ကဖတ္ၾကည္႕ေတာ႔ I=M=P=R=E=S=S=I=V=E ျဖစ္ရတယ္ ေဒၚလာ သန္းေလးဆယ္ ကုန္က်ခဲ႔တဲ႔ project ျဖစ္ျပီး အလကားေပးထားတယ္ဆိုတာ ကမာၻ႕အံ႔ဖြယ္တစ္ခုပဲ။ IBM ရဲ႕ေစတနာလုိ႕လည္းေျပာႏုိင္ပါတယ္။

အခုကေတာ႔ အေသးအဖြဲတစ္ခုအေၾကာင္းပါ။ Error တက္ရင္ ဘယ္ line ကလည္းေတာ႔ သိၾကရပါတယ္။ Eclipse မွာ line no ကို Ctrl+l နဲ႕ရွာလုိ႕ရပါတယ္။ ဒီထက္ အဆင္ေျပတာတစ္ခုကေတာ႔ source code ကို line no တပ္ထားလုိက္တာ ေကာင္းပါတယ္။ မၾကာမၾကာ Ctrol l (l for line) ႏွိပ္ေနရတာ အခ်ိန္ကုန္ပါတယ္။

မခက္ခဲေပမယ္႔ အသံုး၀င္ပါတယ္။  ကဲလုပ္ၾကည္႕လုိက္ပါဦး။


1) Windows -> Preferences
2) General – > Editors -> Text Editors
and click the “Show Line Numbers” checkbox.



No comments: