石建 | Fat Mind

          eclipse使用整理


          一、快捷鍵

          1.常用快捷鍵
              a. crtl + h 查找內容
              b. ctrl + shift + r 快速打開資源文件
              c. ctrl + shift + t 快速打開類文件
              d. alt + shift + o  快速打開 '選中相同詞,出現陰影'

          2.如何設置自己特定的快捷鍵
              


          二、插件

          務必閱讀:
              http://wiki.eclipse.org/FAQ_How_do_I_install_new_plug-ins%3F (為什么推薦使用eclipse update manager)
              http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/ (主要講解'manual install'安裝 方式)

          1.插件安裝方式
              1.1 在線安裝
                    官網wiki寫的很清楚,優勢:1.插件之間依賴管理、版本兼容性管理  2.如同你在Windows安裝軟件一樣,當你不需要的時候可以通過update manage很容易的卸載;當你安裝更多的plguin時,更容易管理。
              eclipse wiki對manual install的看法:This obviously is a more dangerous approach, as no certification takes place about the suitability of the plug-in; it may rely on other plug-ins not available in your installation. In the case of compatibility conflicts, you won’t find out until you use the plug-in that it might break.
                  可惜的是,很多時候網絡的情況不是很理想,嘗試很多遍后,依然失敗;這是促使manual install根本的原因。  
              1.2 手動安裝
                  a、第一種方式:下載plugin到本地,解壓后復制features、plugin到%eclipse_home%下對應的目錄
                  如此圖 http://static.flickr.com/75/219742315_9ee663e2c8_o.png
                  優勢:絕對簡單;缺點:正好是通過update manager安裝的優點,插件之間的依賴、版本兼容性,以及后續的管理,都需要手動操作。
                  b、第二種方式:通過.link的方式,解決'后續管理問題'
                       b-1、eclipse目錄創建 links 目錄
                       b-2、創建對應的.link文件,如:subversive.link
                       b-3、創建subversive/eclipse/,拷貝features、plugin到此目錄
                       b-4、修改subversive.link文件,如:path=E:/dev/eclipse-t/thrid-plugins/subversive
                       b-5、重啟eclipse(重啟后,發現要使用svn,必須安裝subversive connector;驗證手動安裝的缺點)
                   c、提示:
                             - 手動安裝插件時,務必仔細閱讀,此插件的先前條件(否則出問題,很難排查)。
                              如:m2eclipse先決條件
          subeclipse
          、mylyn。
                              或 “Pre-requisite: an Eclipse version including Java Support (e.g. with the JDT : Java Development Tools, as in Eclipse For Java Developers, Eclipse For RCP/RAP developers, Eclipse for JavaEE developers, etc.)” http://code.google.com/p/counterclockwise/wiki/Documentation#Install_Counterclockwise_plugin
                             - 
          eclipse 手動安裝plugin,.link文件的path路徑 必須使用絕對路徑


          總結:對eclipse插件安裝,首先推薦update manager;僅當網絡環境不允許時,安裝失敗時,再嘗試手動安裝。

          2.插件資源收集

          2.1、 m2eclipse插件安裝
              1)先決條件
                  a、eclipse3.2或更高版本(可忽略,一般使用的eclipse已經3.5以上 版本)
                  b、jdk高于1.4版本;eclipse運行在jdk環境,非jre環境
                  c、必須先安裝插件:subeclipse(svn)、mylyn(任務管理); mylyn在eclipse3.5以上版本,已默認存在,無需安裝
                  svn插件在線安裝地址(網絡不確定性,更推薦下載zip,archive選擇本地文件安裝)
                  http://subclipse.tigris.org/servlets/ProjectProcess;jsessionid=290480ED68C2C7E781DCCE66CE657FC2?pageID=p4wYuA
               2)安裝m2eclipse,未找到可下載到本地的zip,只能在線安裝,地址 http://www.eclipse.org/m2e/download/


          posted on 2012-03-18 21:10 石建 | Fat Mind 閱讀(766) 評論(0)  編輯  收藏


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


          網站導航:
           

          導航

          <2012年3月>
          26272829123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          統計

          常用鏈接

          留言簿

          隨筆分類

          隨筆檔案

          搜索

          最新評論

          What 、How、Why,從細節中尋找不斷的成長點
          主站蜘蛛池模板: 东莞市| 微山县| 临海市| 东阳市| 休宁县| 乌审旗| 青川县| 漠河县| 四平市| 怀集县| 米易县| 伊宁县| 佳木斯市| 同德县| 青海省| 滨州市| 额尔古纳市| 闸北区| 鄱阳县| 寿光市| 朝阳县| 永靖县| 雷波县| 永新县| 巴楚县| 会泽县| 卢湾区| 丹寨县| 潞城市| 工布江达县| 咸宁市| 南郑县| 徐汇区| 珠海市| 姚安县| 合阳县| 西乡县| 高雄市| 彭阳县| 满洲里市| 突泉县|