顯示具有 eclipse 標籤的文章。 顯示所有文章
顯示具有 eclipse 標籤的文章。 顯示所有文章

2015年8月24日 星期一

eclipse android 加快開啟速度

1. 在 Windows -> Preferences -> Validation,按一下「Disable All」就可以把所有的驗證器都關掉。之後你可以在編輯器中按右鍵,在選單中選擇「Validate」來手動驗證。

2.在 Windows -> Preferences -> General -> Startup and Shutdown
  • Marketplace Client:eclipse 廣告更新
  • Equinox Provisioning Platform Automatic Update Support:eclipse 自動更新
  • mylyn:用在任務管理
  • WindowBuilder Discovery UI:Java 拉UI用的
  • Codan Analysis UI for C/C++:C/C++ 做UI用
以上幾個沒用到的都可以取消勾選,Android Development Toolkit 做Android 開發要打勾。

3.到Eclipse的目錄下找到eclipse.ini 檔,在修改以下參數前請先複製一份。
白色為不需修改部分,根據不同版本的eclipse會不太一樣
紅色為須自己加入的參數

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
-vmargs
-server
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-Xverify:none
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+UseParallelGC
儲存後重開eclipse