Community
Participate
Working Groups
Build ID: I20070517-1700 (Clean Install on a fresh workspace and no plugins) Steps To Reproduce: 1. Activate preferences option Java Editor->Content Assist->Completion Overwrites 2. Crate a new Class and new method. 3. Use instance_of template proposal 4. When selecting a type (2nd parameter) type Acti and use the context assistant (CTRL Space). 5. Select ActionBase 6. Press Return -> Linked Mode Selection is gone and brace has been overwritten. (Sometimes the brace is not overwritte, then only the linked mode selection is gone.) This never happens when using 'Completion Inserts' Mode. More information: See attached Screenshots.
Created attachment 68754 [details] Selection of instanceof template
Created attachment 68755 [details] Activating the content assist
Created attachment 68756 [details] Selecting the type by pressing return
Created attachment 68757 [details] Preferences Dialog
I'm sorry but I can't reproduce using I20070525-0010 plain Eclipse SDK (i.e. no other plug-ins installed). Do you have other plug-ins installed?
Typically, this bug occurs 90% of the time I use this template (irregularly) in my Eclipse instance with several plugins installed. When using this feature in a clean and plain Eclipse SDK then the probability is lower. Sometimes I need to expand the template of the example several times in a row to reproduce this bug. (But it still happens with a clean Eclipse, too.) I tested this bug with an Eclipse 3.2 instance of a team member (with plugins installed): the problem occurs here, too (not on every invocation). Seems to be some race condition somewhere. Is there anything I can help you to explore this bug on your machine?
Best is trying to get a reproducible scenario. I just tried again several times in plain Eclipse SDK 3.3 RC2 and it works for me. I won't try 3.2 as we wont provide fixes for that version.
Get rid of deprecated state.
.