2011年8月4日木曜日

[Eclipse]: Autocomplete Feature Shows only "No Default Proposals" on Eclipse

A Japanese version of this document is in TechRacho. I got new MacBookAir (Mid 2011, Lion) and build my development environment from scratch. When I installed Eclipse 3.7.0 + ADT, the code assist feature (autocomplete) does not work. It shows only "No Default Proposals" and no any other nominations available.
I solved this problem. This may not be ADT dependent, it may apply to all other Eclipse-based IDE.

Open ".metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs" in your workspace directory, then find a row including "content_assist_disabled_computers" and comment it out by "#". If you cannot find this file, you can find it by the command below:
 
$ cd workspace
$ for x in `find . -type f`;do grep -l "content_assist_disabled_computers" $x;done
Then restart Eclipse application, the autocomplete feature will be working correctly.

0 件のコメント:

コメントを投稿