Eclipse keeps trying to highlight/auto-select function name (in this case the word "test"). So if I'm being thoughtful or considering a problem and not typing very fast, I end up having to wait, then use the arrow keys to change the focus back where I want it so I don't type over my function name repeatedly.
I have never seen this happening. Sounds mysterious to me...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
You must have the autocomplete on. It usually works after a . ; that produces a drop-down list of possible choices. I usually find that continuing to type will narrow the choices. There is bound to be a way of turning it off, but since that is a common IDE feature, I usually leave it on, so I don't know how to disable it.
No, originally I thought that Eli was describing autocomplete, but that isn't it. Autocomplete in Ganymede annoys me sometimes, especially when my machine is overloaded, but I find that deliberately misspelling a method name and then backspacing to correct it will make the autocompletion function go away.
Yeah, this is different than autocomplete. I've tried turning off some of the Automatically close options under java->typing and auto-activation under java->content assist and neither really helped.
Good to know (well, not that good to know) I'm not the only one baffled by this. It seems to go away (sometimes) after restarting Eclipse. But then it comes back later.
I think it has something to do with the validation/syntax checking, only instead of just highlighting the error (the error would be that my function declaration isn't complete, as I haven't fully typed it, or doesn't return the correct type) it's actually going ahead and selecting it.
I get the feeling this will end with me going with the path of least resistance typing out my functions in a convoluted mostly-backward way as soon as I can find a pattern that fully avoids this issue.
I too have been frustrated for days with this but think I may have a solution.
In the Project Explorer/Navigator there is an icon with two horizontal arrows pointing in opposite directions - "Link open editors with content..." - that if enabled navigates to the current file on the Project Explorer window. De-selected that option and the auto-selecting annoyance goes away.
The obvious down side is that the linking feature is then disabled...
On Project Explorer, if you minimize the class to hide the methods, then the problem goes away. You still can have both "Toggle Mark Occurrence" and "Link editor with Explorer" selected. Not a solution, but at least a way to avoid getting annoyed.
Ricky Long wrote:On Project Explorer, if you minimize the class to hide the methods, then the problem goes away. You still can have both "Toggle Mark Occurrence" and "Link editor with Explorer" selected. Not a solution, but at least a way to avoid getting annoyed.
Yup.. Ricky's solution worked for me... and no need to disable the linking arrows (Really useful for me)
subject: Eclipse Ganymede - keeps autoselecting function name as I type!