settings -> ide settings -> live template默认应该是有一些规则的,比如你在php文件里输入forek然后按tab,就会展开?123 foreach ( as $ => $) { }
eclipse没这么智能,想智能就用intellij idea吧