1. 启动emacs.
2.打开jde-mode方式.
3.在打开jde-abbrev-mode方式.
然后输入if,接着按空格键(输入if的条件);展开if语句.
if(i == 0) {
} // end of if (i == 0)
表 1. Abbreviations
语句 | Abbreviation |
---|
if-then | if |
else | else |
if-then-else | ife |
else-if | eif |
while | while |
for | for |
for (int
I=0;I<UL;I++) | fori |
for (Iterator i = c.iterator();
i.hasNext();) | foriter |
main method | main |
switch | switch |
case | case |
try | try |
catch | catch |
try finally | tryf |
finally | finally |