設置eclipse/myEclipse代碼提示可以方便開發者,不用在記住拉雜的單詞,只用打出首字母,就會出現提示菜單。如同dreamweaver一樣方便。
設置超級自動提示:
1.菜單window->Preferences->Java->Editor->Content Assist-右邊-auto-activaction欄下-Enable auto activation 選項要打上勾
2.Auto Activation triggers for java 后面 直接寫入(新版eclipse可以直接寫入長字符)“.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,([{”
3.設置反映時間,Auto activation delay 默認為200,一般設置為20~50 4.*此時設置完還沒有達到超級提示,軟件對類和接口還有很好的提示。
4.繼續設置window->Preferences->Java->Editor->Content Assist展開->Advanced 上面的選項卡Select the proposal kinds contained in the 'default' content assist list: 中把7個選項全部勾上!此時設置結束,無論是語句,類,接口,關鍵字,還是方法,都能自動提示。