canned code completion [message #15023] |
Tue, 06 May 2003 08:45  |
Eclipse User |
|
|
|
Originally posted by: mark_lybarger.NOSPAM.yahoo.com
i can't seem to get the canned code completion to work. for instance, i
want to use a iterator loop, but when i type "for" or "while" then
ctrl+space nothing comes up. i'm using eclipse 2.1 on Win2k
code completion for my class methods and properties is working fine, just
not the things under Window -> Preferences -> Java -> Editor ->
Templates. all the items in that area are enabled, and i've tried restore
defaults.
would a fresh unzip of the eclipse SDK help this out? I don't want to
loose my project settings or plugins though if at all possible.
|
|
|
|
Re: canned code completion [message #16560 is a reply to message #15878] |
Wed, 07 May 2003 09:20   |
Eclipse User |
|
|
|
Originally posted by: Mark_Lybarger.NOSPAMyahoo.com
i checked and i don't have a space after the for (or while). i tried this
on my linux box last night and it was working fine. here on my win2k
workbox it's not working. these templates are really usefull, i'd love to
get them to work.
i tried re-extracting the eclipse zip file over my existing eclipse
installation, and that didn't help. i tried unzipping basically a new
install, and that seemed to resolve the issue. had to import my project,
and resetup all my plugins/vss info, etc.
Genady wrote:
> Make sure you don't have a space after the "for"
> Genady
> Mark wrote:
> > i can't seem to get the canned code completion to work. for instance, i
> > want to use a iterator loop, but when i type "for" or "while" then
> > ctrl+space nothing comes up. i'm using eclipse 2.1 on Win2k
> >
> > code completion for my class methods and properties is working fine, just
> > not the things under Window -> Preferences -> Java -> Editor ->
> > Templates. all the items in that area are enabled, and i've tried restore
> > defaults.
> >
> > would a fresh unzip of the eclipse SDK help this out? I don't want to
> > loose my project settings or plugins though if at all possible.
> >
|
|
|
|
Re: canned code completion [message #18254 is a reply to message #16577] |
Fri, 09 May 2003 09:24   |
Eclipse User |
|
|
|
Originally posted by: mark_lybarger.NOSPAMyahoo.com
Daniel Megert wrote:
> Mark wrote:
> >i can't seem to get the canned code completion to work. for instance, i
> >want to use a iterator loop, but when i type "for" or "while" then
> >ctrl+space nothing comes up. i'm using eclipse 2.1 on Win2k
> >
> >code completion for my class methods and properties is working fine, just
> >not the things under Window -> Preferences -> Java -> Editor ->
> >Templates. all the items in that area are enabled, and i've tried restore
> >defaults.
> >
> >
> >
> Check the following
> - are you in the Java editor
> - are normal code completions available when you press Ctrl+SPACE?
> - is there anything in .log?
> Dani
my new install that was working, now isn't quite... strange. possibly
after installing plugins?. to answer your questions/checks:
- yes
- no
- no (i don't seem to have a log file, where would this be?)
i get normal code completions when i press the ., then method names come
up. i can't seem to find where the ctrl+space is specified. i have 3 main
plugins, XMen XML editor, Veloedit (velocity templates), and vss. i don't
know if those might be reponsible for any of this. i can use the
Edit->Content Assist, and a pop-up will come up with the template code for
my context (for/while, etc).
|
|
|
|
|
Re: canned code completion [message #18356 is a reply to message #18254] |
Fri, 09 May 2003 10:00  |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
mark wrote:
> Daniel Megert wrote:
> > Mark wrote:
> > >i can't seem to get the canned code completion to work. for instance, i
> > >want to use a iterator loop, but when i type "for" or "while" then
> > >ctrl+space nothing comes up. i'm using eclipse 2.1 on Win2k
> > >
> > >code completion for my class methods and properties is working fine, just
> > >not the things under Window -> Preferences -> Java -> Editor ->
> > >Templates. all the items in that area are enabled, and i've tried restore
> > >defaults.
> > >
> > >
> > >
> > Check the following
> > - are you in the Java editor
> > - are normal code completions available when you press Ctrl+SPACE?
> > - is there anything in .log?
> > Dani
> my new install that was working, now isn't quite... strange. possibly
> after installing plugins?. to answer your questions/checks:
> - yes
> - no
> - no (i don't seem to have a log file, where would this be?)
> i get normal code completions when i press the ., then method names come
> up. i can't seem to find where the ctrl+space is specified. i have 3 main
> plugins, XMen XML editor, Veloedit (velocity templates), and vss. i don't
> know if those might be reponsible for any of this. i can use the
> Edit->Content Assist, and a pop-up will come up with the template code for
> my context (for/while, etc).
I recall seeing a number of posts indicating that the XMen plugin was
causing a conflict for ctrl+space in the 2.1 releases.
|
|
|
Powered by
FUDForum. Page generated in 0.28858 seconds