Live template question

Hi, is it possible to get method parameters in a live template ?
in fact I use sometimes "soutm" but if I could get the parameters
it would be better but I don't know if it's possible


1 comment
Comment actions Permalink

Matthieu Casanova wrote:

Hi, is it possible to get method parameters in a live template ?
in fact I use sometimes "soutm" but if I could get the parameters
it would be better but I don't know if it's possible


I think that the closest you can get right now is "variableOfType"

From the help file:

variableOfType(]]>)

Suggests all variables that may be assigned to the type passed as a
parameter. E.g. variableOfType("java.util.Vector"). If you pass an empty
string ("") as a parameter, suggests all variables regardless of their
types. For an example, see the itve template in the iterations group.

-


I have to admit that an expansion called "suggestParameter" or
"parameterOfType" wouldn't be a bad idea.

Donald

0

Please sign in to leave a comment.