java技術研究

          統計

          留言簿(3)

          閱讀排行榜

          評論排行榜

          讓Myeclipse格式化更漂亮(轉自javaeye)

          1.Java代碼

          打開Eclipse的Window菜單,然后Preferences->Java->Code Style->Formatter->Edit/Show(根據不同版本可用的按鈕會不一樣) ->Line Wrapping->Maximum line width:由默認的80改成自己想要設定的長度
           
          2.Html代碼
          Window->Preferences->MyEclipse->Files and Editors->Html->Html Source->Line width->加個0以后保存。
           
          3.xml代碼
          Window->Preferences->MyEclipse->Files and Editors->xml->xml Source->->Line width->999
          @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

           

          posted on 2011-10-21 10:14 小秦 閱讀(5456) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 马关县| 双流县| 宁蒗| 新乡市| 郧西县| 龙井市| 中卫市| 武汉市| 玛多县| 武强县| 栖霞市| 祁东县| 昭觉县| 徐汇区| 全南县| 闽清县| 淮北市| 仙游县| 新余市| 青浦区| 芒康县| 遵义市| 临沂市| 武乡县| 琼中| 武宣县| 余姚市| 喀喇| 枝江市| 大港区| 谷城县| 洱源县| 锡林郭勒盟| 津南区| 鸡东县| 临武县| 封丘县| 湟中县| 容城县| 松江区| 邢台市|