zhyiwww
          用平實(shí)的筆,記錄編程路上的點(diǎn)點(diǎn)滴滴………
          posts - 536,comments - 394,trackbacks - 0

          如何在 Eclipse 中顯示行號(hào)

          這個(gè)問(wèn)題,困擾了我好長(zhǎng)時(shí)間,今天終于找到了。其實(shí)很簡(jiǎn)單,經(jīng)過(guò)以下幾步,就一切搞定了:

          1)???? 先打開(kāi)一個(gè)類(lèi),如下圖:class.JPG

          2)???? 然后打開(kāi)視圖,如何打開(kāi)呢?最能解決問(wèn)題的也就在此了:

          Ctrl+F10,效果如下圖:
          view.JPG

          3)???? 然后選擇Show Line Numbers
          select.JPG

          4)???? 最后的效果如圖:
          Line result.JPG

          5)???? ? 就這樣簡(jiǎn)單,你就可以在編輯器中看到你的代碼的行號(hào)了。其實(shí)最重要的是知道Ctrl+F10能打開(kāi)視圖菜單就一切搞定了。

          ?



          |----------------------------------------------------------------------------------------|
                                     版權(quán)聲明  版權(quán)所有 @zhyiwww
                      引用請(qǐng)注明來(lái)源 http://www.aygfsteel.com/zhyiwww   
          |----------------------------------------------------------------------------------------|
          posted on 2006-10-27 14:35 zhyiwww 閱讀(143589) 評(píng)論(56)  編輯  收藏 所屬分類(lèi): software

          FeedBack:
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2007-04-05 20:11 | ZZ
          拜一下  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2007-06-26 14:16 | wangtie
          不錯(cuò),支持 一下,謝謝了 !  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2007-09-21 21:13 | java
          太謝謝你啦,呵呵  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2007-11-06 13:27 | 2188518718
          謝了哥們  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2008-01-11 14:55 | 微子
          謝謝啦!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2008-06-10 10:36 | sheng
          非常感謝!!!!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2008-10-14 12:23 | sdf
          # re: 如何在Eclipse中顯示行號(hào)
          2008-11-10 14:54 | zp
          按照上述說(shuō)法,應(yīng)該有三中方法可以顯示行號(hào):
          1.如上所述;
          2.在Editor的最左邊點(diǎn)右鍵,出現(xiàn)的快捷菜單如上;
          3.依次點(diǎn)擊Window->Preferences->Gerenal->Editors->Text Editors
          然后在show line number復(fù)選框打?qū)μ?hào)即可。  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2008-11-20 10:41 | x
          # re: 如何在Eclipse中顯示行號(hào)
          2009-01-19 19:09 | 踩踩
          非常感謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-03-03 11:48 | 偷度的魚(yú)
          # re: 如何在Eclipse中顯示行號(hào)
          2009-03-06 15:26 | zhou zhiqiang
          Thank you very much!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-03-19 11:53 | 貴貴
          非常好,謝謝  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-03-27 18:50 | wangmogang
          # re: 如何在Eclipse中顯示行號(hào)
          2009-05-05 15:31 | g
          謝謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-07-27 16:09 | hello
          thank you very much:)
            回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-08-03 09:19 | 快樂(lè),向日葵
          # re: 如何在Eclipse中顯示行號(hào)
          2009-08-13 08:51 | 斷點(diǎn)
          thank you !!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-08-13 18:05 | Cott
          十分感謝!Domino Designer8.5終于有行號(hào)了!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2009-11-25 10:26 | 天邊一朵云
          好方法!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2010-04-01 10:39 | ttt
          很有幫助  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2010-04-18 11:21 | cenymei
          非常感謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2010-05-18 16:43 | 朱強(qiáng)
          說(shuō)的很好   回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2010-08-04 10:19 | zsygmj
          好的。試了一下,在左側(cè)空白欄(有展開(kāi)折疊按鈕的地方)右擊也可以。  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2010-09-11 22:14 | 陳真
          # re: 如何在Eclipse中顯示行號(hào)
          2010-11-01 11:26 | LTF
          謝謝,很好!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-04-14 10:32 | 干將
          謝謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-04-19 11:16 | DK
          實(shí)用的小技巧,非常感謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-04-30 12:58 | 我們看你
          謝謝分享經(jīng)驗(yàn)!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-05-17 17:16 | 亞水
          愛(ài)死博主了,這個(gè)忙幫了不少人啊!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-06-09 10:41 | 勞客
          頂起!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-08-26 15:17 | sls
          很齊全很實(shí)用。。。
            回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-10-17 15:32 | aduan
          哈哈,謝啦~~  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2011-12-21 16:22 | ~\(≧▽≦)/~啦啦啦
          非常感謝,幫到偶的忙了  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2012-04-06 17:42 | 如何
          頂!!!!!!!!!!清晰明了 我找了好多次了!!!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2012-08-20 17:55 | coidng
          我靠,太霸道了,頂  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2012-08-29 14:01 | l
          謝啦哥們  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2012-08-29 21:56 | 蘆云鵬
          謝謝了  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2012-11-10 17:22 | &
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2013-04-10 10:04 | 111
          # re: 如何在Eclipse中顯示行號(hào)
          2013-04-13 10:18 | 于金良
          謝謝樓主,給力啊  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-04-17 19:03 | 阿薩德發(fā)的風(fēng)格
          親,在邊框上點(diǎn)擊右鍵,和ctrl+F10效果是一樣的!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-05-20 19:52 | starhao
          謝謝了。哥們  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-06-09 10:24 | houqi
          @ZZ
          看這個(gè),界面化的介紹更詳細(xì)http://jingyan.baidu.com/article/b2c186c89b7023c46ef6ff27.html  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-07-03 15:11 | gui
          # re: 如何在Eclipse中顯示行號(hào)
          2013-07-16 21:50 | 的事故發(fā)生
          # re: 如何在Eclipse中顯示行號(hào)
          2013-07-25 12:03 | jacke
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2013-07-31 16:20 | wyl
          十分感謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-10-29 14:24 | 路人甲
          # re: 如何在Eclipse中顯示行號(hào)
          2013-10-31 21:01 | Charay
          踏破鐵鞋無(wú)覓處啊,灰常感謝。  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-11-05 16:43 | huamao
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2013-12-02 14:09 | senlin
          我也在找這個(gè)辦法,謝謝  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2013-12-09 22:40 | 12
          不錯(cuò)  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)
          2014-04-17 10:52 | dufgai
          # re: 如何在Eclipse中顯示行號(hào)
          2014-06-24 14:22 | jancuny
          非常好,謝謝!  回復(fù)  更多評(píng)論
            
          # re: 如何在Eclipse中顯示行號(hào)[未登錄](méi)
          2014-12-29 16:40 | JL
          很有用,點(diǎn)個(gè)贊。  回復(fù)  更多評(píng)論
            
          主站蜘蛛池模板: 秀山| 海丰县| 沅江市| 手机| 原平市| 娱乐| 衡阳县| 甘孜| 体育| 元朗区| 福建省| 神农架林区| 连云港市| 久治县| 宜丰县| 武威市| 桃园市| 交城县| 建平县| 达拉特旗| 武穴市| 黄冈市| 曲沃县| 大化| 兴安县| 天长市| 宣化县| 略阳县| 登封市| 铁力市| 前郭尔| 海丰县| 左权县| 正宁县| 福安市| 罗平县| 陵水| 乌拉特中旗| 宁陵县| 房产| 苍溪县|