Eclipse/myEclipse 代碼提示/自動提示/自動完成設置

設置eclipse/myEclipse代碼提示能夠方便開發者,不用在記住拉雜的單詞,只用打出首字母,就會出現提示菜單。如同dreamweaver同樣方便。java

 

1.菜單window->Preferences->Java->Editor->Content Assist-右邊-auto-activaction欄下-Enable auto activation 選項要打上勾eclipse

2.Auto Activation triggers for java 後面 直接寫入(新版eclipse能夠直接寫入長字符)「.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,([{」接口

3.設置反映時間,Auto activation delay 默認爲200,通常設置爲20~50 4.*此時設置完尚未達到超級提示,軟件對類和接口還有很好的提示。ip

4.繼續設置window->Preferences->Java->Editor->Content Assist展開->Advanced   上面的選項卡Select the proposal kinds contained in the 'default' content assist list: 中把7個選項所有勾上!此時設置結束,不管是語句,類,接口,關鍵字,仍是方法,都能自動提示。開發

相關文章
相關標籤/搜索