Difference between several "import" eclipse code template -
Difference between several "import" eclipse code template -
in eclipse 3.7 i've seen java code templates several variations of ${import}
command:
${:import} ${imp:import} ${x:import}
what's difference between them?
in above illustration have created 3 variables:
"" (ie blank)
"imp"
"x"
you can utilize these names refer variables later on within template. seems largely useless in case of import statements.
to thought of how might used usefully take @ arraymerge, template shipped eclipse, , see result variabe beingness used in few places.
i suggest taking @ templates ship eclipse , first-class useful eclipse java code templates question larn bit more.
note: within template variables must have unique names, if took illustration above , added
${:importstatic}
you error, have used "" (blank) variable name.
eclipse templates import
Comments
Post a Comment