Code Assist功能介绍

在看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.



你可能感兴趣的:(java,eclipse)