通過eclipse進行andorid開發時,需要對eclipse進行相應的配置,以便能進行代碼提示,友善開發。具體配置過程如下:
1)java檔案的自動提示
Window->Preferences->Java->Editor->Content Assist->Auto Activation
将Auto activation triggers for Java中替換為.abcdefghijklmnopqrstuvwxyz(,
2)xml檔案的自動提示
Window->Preferences->XML->XML Files->Editor->Content Assist->Auto Activation
将Prompt when these characters are inserted中替換為<=:.abcdefghijklmnopqrstuvwxyz(,