设置eclipse自动补全
点击" Window>Preferences";
选择"Java>Editor>Content Assist",在右侧的"Auto-Activation"找到"Auto Activation triggers for java"选项;
默认触发代码提示的是"."这个符号。将"."后面加入所有的英文大小,即.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
点击" Window>Preferences";
选择"Java>Editor>Content Assist",在右侧的"Auto-Activation"找到"Auto Activation triggers for java"选项;
默认触发代码提示的是"."这个符号。将"."后面加入所有的英文大小,即.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ