Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm not sure what configuration I must have selected, but now the code window only shows the item that is selected in the outline window. I've never seen this behaviour before and it's quite annoying. Anyone knows how to change that?

share|improve this question
1  
If you're still around a screen shot of te window would be helpful. –  KronoS Jun 19 '11 at 0:29
    
actually I found the config, it's in Preference->Java->Editor check box "Only show the selected Java element", it was checked, I unchecked it. –  Charbel Jun 20 '11 at 10:10
add comment

2 Answers

You must have mylyn activated in your editor in the "Focusing Editor" mode:

enter image description here

Unclick that mylyn button and it should work in a more classic way.

share|improve this answer
    
are you talking about the following preferences: preferences->tasks->context-> views []Auto focus navigator views on task activation []Auto expand tree views when focused I unchecked both of them and restarted eclipse... not working –  Charbel Feb 27 '11 at 11:13
    
@Charbel: more directly: click on the button illustrated in the picture in order to un-select it. –  VonC Feb 27 '11 at 11:31
    
I don't see that button, maybe it's not mylyn –  Charbel Feb 27 '11 at 14:14
    
actually, I can see it on the outline menu, but it's un-selected and greyed out –  Charbel Feb 27 '11 at 14:15
    
actually I found the config, it's in Preference->Java->Editor check box "Only show the selected Java element", it was checked, I unchecked it. I'll answer my question. –  Charbel Jun 20 '11 at 10:10
add comment
up vote 1 down vote accepted

actually I found the config, it's in Preference->Java->Editor check box "Only show the selected Java element", it was checked, I unchecked it.

share|improve this answer
    
Excellent catch. +1 –  VonC Jun 20 '11 at 10:32
    
looks like an insane option to me, but hey, different people have different tastes, I love "virtual word wrap" my colleagues hate it, and it is still missing in Eclipse ;-) –  Charbel Jun 20 '11 at 11:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.