Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
Live template question
Permanently deleted user
Created
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
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.
Matthieu Casanova wrote:
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