在看eclipse的帮助文档时,看到这条很有用的信息,关于代码补全的,默认情况下是没有补全参数名称,下面是帮助文档全文
You can have code assist insert argument names automatically on method completion. This behavior can be customized on the Window > Preferences > Java > Editor > Code Assist preference page (see the Fill argument names on completion checkbox.) For example, when you select the second entry here,

code assist will automatically insert argument names:

you can then use the Tab key to navigate between the inserted names.
Code assist can also guess argument names - based on their declared types. This can be configured by the Guess filled argument names checkbox on the Window > Preferences > Java > Editor > Code Assist preference page.
本文介绍了Eclipse中代码补全功能的高级使用方法。通过设置可以开启方法调用时参数名的自动填充,并允许用户通过Tab键在插入的参数间导航。此外,Eclipse还能根据参数类型猜测并填充参数名。
574

被折叠的 条评论
为什么被折叠?



