找到你要的答案

Q:Eclipse Content Assist function arguments auto-insert

Q:Eclipse内容辅助功能参数自动插入

I use Eclipse StatET for R programming. I am looking for a way to autocomplete function definition and insert parameters names.

Say I have following function (in R):

GetFC = function(key_, portf_name_, type_, db_name_){}

Then when I invoke content assist I see following picture: content assist invoked

Is there anyway, that content assist will insert not only the function name, but also all parameters?

Like that:

I use Eclipse StatET for R programming. I am looking for a way to autocomplete function definition and insert parameters names.

说我有以下功能(R):

GetFC = function(key_, portf_name_, type_, db_name_){}

Then when I invoke content assist I see following picture: content assist invoked

不管怎样,内容辅助将不仅插入函数名,还包括所有参数?

这样的:

answer1: 回答1:

Use content assist twice: first time to choose your function, second time to see the arguments and select one:

使用内容辅助两次:第一次选择函数,第二次查看参数并选择一个:

r  eclipse  statet