1、可以在eclipse =》Windows =》Preferences =》XML =》 Editor中,把“Line width” 设置的大一些;
要求紧凑的话,可以勾选“Clear all blank lines”
2、echo 可以改用 message attribute
参考:
http://blog.csdn.net/drift_away/article/details/8178459