java技術研究

          導航

          <2011年10月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          隨筆分類

          隨筆檔案

          統計

          留言簿(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 小秦 閱讀(5458) 評論(0)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 克东县| 桐梓县| 吉水县| 栾川县| 朝阳市| 井研县| 太原市| 嘉祥县| 宣威市| 德令哈市| 克东县| 高唐县| 佳木斯市| 河源市| 舞钢市| 柳河县| 秭归县| 莱芜市| 遂平县| 嘉祥县| 邢台县| 湾仔区| 安岳县| 郓城县| 宣武区| 南部县| 扬中市| 楚雄市| 淳安县| 朝阳区| 礼泉县| 恩平市| 利津县| 吴旗县| 娄烦县| 高邮市| 文昌市| 平凉市| 泾源县| 屏东县| 赤峰市|