在看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中代码补全的功能,特别是如何在方法调用时自动插入参数名称,并提供了自定义设置的方法。
545

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



