# [Eclipse] Set Java & xml Content Assist ###### tags: `eclipse` `ide` ### 設定Java的Content Assist ### 1. Steps步驟: #### Eclipse ➡️ windows ➡️ Preferences ➡️ Java ➡️ Editor ➡️ Content Assist ➡️ Auto activation triggers for Java <br/> <br/> ### 2. Enter in "Auto activation triggers for Java": #### 輸入以下這串文字到「Auto activation triggers for Java」這個欄位 ==_.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz== ![](https://i.imgur.com/FkWMZjr.png) <br/> <br/> ### 3. Tick the checkbox "Disable insertion triggers except 'Enter' " #### So,when you want to choose the suggestion of Eclipse, you will use "Enter". #### 把 Disable insertion triggers except 'Enter' 這欄打勾,就不會出現誤觸狀況,當你不想要選擇Eclipse給的選項時,就不要按Enter鍵。 <br/> ### 4. Done #### Don't forget to click " Apply and Close " ❗❗ <br/> #### After setting this. No matter what you type, Eclipse will auto detect in every moment. #### 把上方那串輸入到Auto activation triggers fo Java這個位置,之後Eclipse就會自動幫你偵測這些字,基本上就是打什麼它都會幫你猜了! --- ### 補充: #### xml檔的Content Assist ==<=:.abcdefghijklmnopqrstuvwxyz(,==