1、Eclipse 习惯ctrl + T 2、eclipse new出类对象 光标最右边 然后ctrl +1 或者 ctrl+2 等号左边的自动补齐 转载于:https://www.cnblogs.com/toov5/p/9939778.html