[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Code templates

Jesper,
I have opened a feature request PR for you:
    1GIVMDV: ITPJUI:ALL - EC DCR: Code templates feature
It would be useful if you could supply more info:
- where have you used these before
- how did you invoke them - specific shortcut key? user-specified shortcut
key[s]?
- i.e. did the U/I provide a list of them for you when you invoked it, or
could you invoke each one with some separate key sequence?
- are they just a macro?
- did you name them?
- did you fill in the parameter (i.e. [vector]) (in a dialog, perhaps?) when
you invoked the template, or did the U/I place the cursor for you to type it
in?
Carolyn

"Jesper Nordenberg" <jn@xxxxxx> wrote in message
news:9lm1rr$7ta$1@xxxxxxxxxxxxxxxx
> Great IDE! One thing I miss though: code templates. I would like to have
> user defined shortcuts to generate statements like:
>
> for (int i=0; i<[vector].size(); i++) {
>   Object item = [vector].get(i);
> }
>
> where [vector] would be replaced by a user supplied name.
>
>