• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help from any Eclipse Experts

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Attention Eclipse users. Does anyone know how to turn off the 'feature' in eclipse where it highlights the method name after you done typing (or pause). What's happening is that I'm typing my method name.. I then pause.. and eclipse gracfully THEN highlights the method name. I then continue typing effectly restarting my method name and wiping out what I had just typed before I paused.. UGH
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse is selecting a method name as soon as you type it? That's weird. I'm not aware of any "feature" like that.
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I found out why this is happening.

2 things need to be set in order for this 'feature' to work.

1.Link your left navigation w/your editor.
**.There is a button to sync up your project view and your editor. When you hover over it, it will say (Link Open Editor with Contents in Navigator)

2.Expand your left navigation to be down to the method level.

If both of those things are on .. AND you change your method name Eclipse will automatically try to jump to the method. Eclipse is thinking you just changed methods and it needs to navigate to it. And of course when it navigates to it, it highlights the method. Thus, you type a method name, pause (eclipse tries to navigate to the new method) and you continue typing your method name. When you continue, the highlighted method part of you method gets wiped out.

If there is a feature to prevent Eclipse from highlighting the method when it navigate to it, (and just put the cursor at the beginning of the method name) that would be great and probably fix the issue.

Anyone know of a way to do this?
[ December 07, 2006: Message edited by: Dale DeMott ]
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I tried to reproduce the problem, and it behaves basically as you describe except that for me, it highlights, but does not select, the method name. If I pause, then type more characters, I see the new part un-highlighted at the end of the name, and then after a beat, I see highlighting.

Maybe this is a bug in a specific version of Eclipse? I'm using Eclipse 3.2.1, and a freshly-updated JDT.
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using 3.2.1 as well but its the Linux version. Maybe its an anomaly between the 2 Eclipse 3.2.1 OS versions.
[ December 07, 2006: Message edited by: Dale DeMott ]
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Dale DeMott:
Maybe its an anomaly between the 2 Eclipse 3.2.1 OS versions.



Actually, it was on Linux that I tried it out.
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm.. for me it highlights AND selects it. So if I end up typing and then pausing... it reacts.. and then highlights it AND selects it. If I continue typing after it does this I end up erasing my method name and replacing it w/what I JUST typed.

I'm on Fedora 6 w/Eclipse 3.2.1.

If any of you Eclipse experts do end up finding this problem and solving it, please post it here. I'd love to find out what exactly is causing this.
[ December 08, 2006: Message edited by: Dale DeMott ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic