Community
Participate
Working Groups
Build ID: M20080911-1700 Steps To Reproduce: This happens often for me, but doesn't usually happen immediately after launching eclipse. When it does happen it's usually in a class that already has many methods, and I'm typing in the middle of the class (i.e., not the first or last method). More information: While creating new methods in java classes, if I stop typing for about 500 ms, eclipse will automatically select the method name. At this point I need to deselect the text before continuing to type, otherwise my next keystroke will cause the the selected text (the method name) to be overwritten. Other people seem to have encountered this: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&t=006130 http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg25722.html
I suspect you see bug 237830. Please try 3.5 M3 or newer and if this doesn't fix your case please reopen with more detailed steps to reproduce. *** This bug has been marked as a duplicate of bug 237830 ***
Daniel: I agree that it's the same bug; the steps in that case allowed me to reliably reproduce it, which I could not do before. The only exception is that it is not necessary to use the Refactor option to get this to happen. I can reproduce it like this: 1. Load an existing project with java files 2. Open the project explorer pane and make sure the "link with editor" option is enabled. 3. Expand your project in the navigator until you find a java file, and double-click on a method name. This opens the file in the java source code editor, and also selects the method name. 4. Click into the java edit window and try to change the method name. Every time you type a character and wait ~ 500 ms, eclipse re-selects the same method name. I will try the newer version of eclipse. Thanks for your help. For everyone reading this, a workaround is to disable the "link with editor" option. (Look at the header of the "project explorer" window for a little square icon with two yellow arrows pointing left and right. Unselect this.)