window–>preference–>java–>Editor–>Auto activation triggers for java后面的.改成abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ