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

2019年4月19日

[Eclipse] 明明裝了 decompiler 的套件 卻不能decompiler

可以檢查一下關連設定
Windows > Preferences > General > Editors > File Association.

2018年12月26日

[Eclipse]No Default Proposals提示功能無法使用解決方法

在coding的時候例如 在打某type後 打了那個.的時候 可以提示有什麼method可以用,但! 發現他什麼都沒有 alt+/也說 no proposal

怎麼辦!!

Windows → Preperences → Java > Editor → Content Assist →Advance 把Java Proposale跟Java Type Proposale打勾

done!

[Eclipse] 變數反白

eclipse 有個功能 點兩下變數 ,用到的同一個變數都會反白

但...有可能會這個設定被改掉了

設定的地方在:
Window→Preferences→Java→Editor→Mark Occurrences

2018年9月7日

[Eclipse] 如何在不同的 workspace 使用相同設定

關掉 Eclipse

找到舊的 workspace 的設定檔資料夾,路徑在:
${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings

複製整個資料夾,在新的 workspace 貼上並覆蓋,路徑在:${new_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings

啟動 Eclipse 

2018年1月23日

[Eclipse] 讓程式碼看的出與git的差異 (不是按compare)

General → Editors → Text Editors → Quick Diff 

ref:

EGit/User Guide/State - Eclipsepedia
http://wiki.eclipse.org/EGit/User_Guide/State

Instead of using a compare editor you can enable quick diff support and see the changes within the text editor. This feature can be enabled via the General > Editors > Text Editors > Quick Diff preference page:

[Eclipse]安裝DECOMPILER 的PLUGIN

Step 1: Go to Help -> Install New Software -> click on 'Add'

Step 2: On pop-up fill these below details:

Name: JavaDecompiler

Location: http://jd.benow.ca/jd-eclipse/update/

Step 3: Click on checkbox - Java Decomplier Eclipse Plug-in.

Step 4: Click -> Next -> Next -> Accept The Agreement -> Finish

Step 5: Click on check-box -> Accept the trust certificate -> OK

Step 6: Restart the eclipse.



https://stackoverflow.com/questions/34368880/eclipse-mars-java-decompiler

[Eclipse]更改eclipse @author的預設名字

在eclipse的目錄下找到eclipse.ini檔,

在-vmargs後邊添加上啟動參數:-Duser.name=XXXX

重啟eclipse

done!

2016年4月11日

Eclipse 調大project explore 字體

在eclipse/opt/plugins/platform/css
(\eclipse\plugins\org.eclipse.ui.themes_1.1.1.v20151026-1355\css)


找到「e4_basestyle.css」

最後面加上
.MPart Tree {
font-size: 10;
}

2016年1月11日

Eclipse jsp 預設 encoding改為utf8

Windows -> Preferences -> Web -> JSP Files
Select UTF-8 encoding from the *Encoding *dropdown box there.