乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      eclipse簡單配置使開發(fā)更快更流暢

       獨醭湉睚 2011-11-16
      eclipse簡單配置使開發(fā)更快更流暢

      設置工作空間的項目編碼, 防止出現(xiàn)亂碼
          Window - Preferences - General - Workspace
          將"Text file encoding"選為"Other" - "UTF-8"
          改變現(xiàn)有項目的編碼的步驟: 右擊項目屬性, 選擇"Text file encoding"的編碼

      設置其它文件的編碼
          Window -> Preferences -> General -> Content Types
          將需要設置的文件設置編碼, 最好統(tǒng)一設為UTF-8
          設置后, 如Javascript文件可正常顯示中文

      設置創(chuàng)建JSP頁面時,將JSP的默認編碼設為UTF-8
          Window -> Preferences -> MyEclipse -> Files and Editors -> JSP
          將"Encoding"選為"ISO10646/Unicode(UTF-8)

      去掉格式化JSP時頁面中的空行
          Window -> Preferences -> MyEclipse -> HTML -> HTML Source
          勾選"Clear all blank lines"

      增強Eclipse的自動代碼提示功能
          默認下, 只有按"."或"Alt + /"才出現(xiàn)代碼提示功能, 不夠強大, 作小小設置, 可將代碼提示功能像VS的一樣方便
          1. Window -> Preferences -> Java -> Editor -> Content Assist
          2. 將"Auto Activation triggers for java"設置為".abc"(默認是"."), 點"Apply"應用
          3. 導出目前的Eclipse配置文件: File -> Export -> General -> Perferences, 選擇保存路徑, 保存得到*.epf文件
          4. 用文本編輯器打開剛才保存的*.epf文件, 搜索".abc", 將".abc"部分改為
              ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(," (以上為自動提示的觸發(fā)字符,
              根據(jù)個人習慣設置), 保存此配置文件(個人覺得不太好用,容易出錯)
          5. 導入此配置文件: File -> import -> General -> Perferences, 導入修改后的配置文件.

          第一個選項為反應時間,可設為100左右(默認200)

      高亮類中同一引用的使用位置
          Window -> Perferences -> General - > Editors -> TextEditors -> Annotations
          選擇"Occurrences",勾引"Text as" -> "Highlighted"(塊高亮)或"Squiggles"(虛線)

      Link with Editor
          打開類后, 自動在包管理器這里顯示類的位置
          


      取消Myeclipse的自動文件驗證(卡傻的原因)
          Windows –> Perferences –>Myeclipse –> Validation
          保留manual(手動)部分,build下只留"classpath dependency Validator"

          手動驗證: 右鍵文件 -> Myeclipse -> Run Validation

      取消拼寫錯誤檢查
          我愛故意寫錯單詞, 不需要系統(tǒng)幫我檢查
          Windows –> perferences –> General –> Editors-> Text Editors -> Spelling
          去掉"Enable spell checking"勾選

      關閉不需要的啟動項
          MyEclipse:
          Windows –> Perferences–> General–> Startup and Shutdown

          我只保留了
          
          
          順序下來:
          1, Tomcat6: 必備的...
          2, 內存監(jiān)視器: 可以查看Myeclipse的使用內存, 我喜歡這工具(在菜單Myeclipse - Utilities - Show Heap Status打開)
          3, JSP Debug工具, 其實我也沒用過, 怕有一天用到...
          4, 文件創(chuàng)建向導(個人經常用到)
          5, 向后兼容的意思吧, 怕有一天會用到, 但其實很少用, 可去掉
          6, 透視圖, 應該可以去掉吧...

          其實就只用選擇Tomcat6

      關閉自動更新
          1, Eclipse:
              Windows –> Perferences–> Install/Update -> Automatic Updates
              不勾選"Automatically find new updates and notify me"

          2, Myeclipse:
              1)Windows –> Perferences–> MyEclipse... -> Community Essentials
           &nb sp;  不勾選"Search for new features at startup"
              2)Windows –> Perferences–> MyEclipse... -> Maven4MyEclipse
              不勾選"Download repository index updates on startup"



      第一:給MyEclipse 8.x Stable (8.0 GA) 添加啟動畫面
      在myeclipse.ini配置文件追加上一行代碼:
      -
      Dosgi.splashLocation=../Common/plugins/com.genuitec.myeclipse.product8_8.0.0.me200911192201/sp
      lash.bmp 


      第二:讓Eclipse拖著myeclipse狂飚
      技巧一:取消自動validation
      validation有一堆,什么xml、jsp、jsf、js等等,我們沒有必要全部都去自動校驗一下,只是需要的時候
      才會手工校驗一下,速度立馬提升好幾個檔次!
      取消方法:
      windows-->perferences-->myeclipse-->validation
      除開Manual下面的復選框全部選中之外,其他全部不選
      手工驗證方法:
      在要驗證的文件上,單擊鼠標右鍵-->myeclipse-->run validation


      第三:MyEclipse耗內存的決絕辦法
      1 老是彈出Quick update error
      這個問題的解決辦法是關閉自動更新

      Windows > Preferences > MyEclipse Enterprise Workbench > Community Essentials,
      把選項 "Search for new features on startup"的前勾去掉即可.

      2 關閉updating indexes

      Window > Preferences > Myeclipse Enterprise Workbench > Maven4Myeclipse > Maven>禁用Download 
      repository index updates on startup

      3 關閉MyEclipse的自動validation

      windows-->perferences-->myeclipse-->validation
      將Build下全部勾取消

      如果你需要驗證某個文件的時候,我們可以單獨去驗證它。方法是,在需要驗證的文件上( 右鍵 -> 
      MyEclipse -> Run Validation

      4 啟動優(yōu)化,關閉不需要使用的模塊

      Window > Preferences > General > Startup andy Shutdown 在這里列出的是MyEclipse啟動時加載的模塊 
      我這里只讓它加載tomcat5 勾選 MyEclipse EASIE Tomcat 5

      5. 在myeclipse 7.0版本以上時,
      window-preferences-MyEclipse Enterprise Work-Maven4MyEclipse-Maven, 取消選中Download 
      repository index updates on startup!
      6. 關閉更新調度:window --> preferences --> General --> Startup and Shutdown --> Automatic 
      Updates Scheduler(去掉前面的勾)

        本站是提供個人知識管理的網絡存儲空間,所有內容均由用戶發(fā)布,不代表本站觀點。請注意甄別內容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權內容,請點擊一鍵舉報。
        轉藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多