新安裝的myeclipse6.5或7.1,由于某些配置原因,無法給出代碼提示。設置方法如下:
1、菜單window->Preferences->Java->Editor->Content Assist->Enable auto activation 選項要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的選項卡Select the proposal kinds contained in the 'default' content assist list:
中把 Java Proposals 選項打上勾就可以了。 (其實更簡單的方法就是單擊 "Restore Default" 按鈕來還原就行了.)
另外,更改提示快捷鍵:
1.選擇MyEclipse菜單欄中的Window->preferences;
2.選擇General->keys;
3.在右側中間的窗體中點擊word completion后再點擊remove binding,在下方的binding中隨便輸入一個快捷鍵;
4.然后選擇Content Assist點擊Remove binding,在binding中輸入Alt+/;
5.點擊Ok就可以了。
posted on 2011-06-01 14:39
紫蝶∏飛揚↗ 閱讀(11227)
評論(0) 編輯 收藏 所屬分類:
隨想 、
MyEclipse 使用方法