Community
Participate
Working Groups
F3 it's not common to change it often and it feels like an editor appearance preference - not a toolbar button function (people on the newsgroup were confused by it too)
Not for 2.0
Reopening for 2.1 consideration
The toolbar button is not ver intuitive. See bug 27884. I must have clicked this button without notice. I've worked a whole weekend without finding an option to turn this of. It was really terrible.
not an enhancement - it's a usability bug
see also bug 29975
Actually I would not want that. I usually have it on, but I often turn it temporary off to do a global find/replace in the file. So having it as a toobar button is convenient for me.
I just encountered it with M5. Not sure how it got turned on but I spent a frustrating (short) period of time, before I posted on the newsgroup. A prompt reply from Adam helped. Doesn't matter to me which way it's done (preference / toolbar button) as long as when I shut Eclipse down and bring it up the setting is maintained (which I believe it is from my minimal experimentation). Do I take it the setting is stored in the "workspace" directory in both cases? If not, I'll probably have a different opinion. Thanks, Russell
If it is turned into a preference, then the button should be there in the toolbar if the preference is on (that is, if you normally view element-by- element, there should be a way to temporarily snap out of it and view the whole type (some people say "file"...;)).
I agree with Simon. This is not an 'either or' preference. It changes depending on what you happen to be doing. Moving it to preferences would be like moving the buttons at the top of the 'Outline' view into preferences.
Never did get an answer to my query as to whether the setting is persisted between Eclipse invocations (appears to be so, but I thought I'd ask). Thanks, Russell
Adam, this not a bug and I agree with Jerome that often you change between segmented and non-segmented mode. Russel, it is persisted. No plans to change this for 3.0
I disagree. It's definitly a usability bug. Please see comment 3 and comment 7 and think about the resolution "resolved later". It's hanging around here for a long time now and your suggested solution: "it's not a bug - it's a feature" doesn't seem to fit as much as possible use cases like a bug solution should be. The button might be a nice-to-have for some guys and its usage might be intuitive but the persistence of this setting should not be handled by the toolbar button. Every user not confronted with this button/functionallity before will never know how to disable it if it was accidentally enabled because he will simply not recognize that a toolbar button configures a persistent "preference" of the Java editor.
I doubt, that it is a good idea, to configure the segmented view in the preferences. If not, it might be in a tool bar, but which one. As far as I can see, neither a) the perspectives nor b) the editor view as a whole nor (just as an idea) c) a file tab itsself have a tool bar for now and everything depends on new features of 3.0, where I do not know enough about. Maybe the member view toolbar in the Java Browsing perspective might be a good place to override an overall setting. I was thinking of submitting a bug when I found 10044, whose original idea was, that the IDE overall setting is bad and I agree, that it is important to change that really quick.
Regarding comment 13: moving the toggle to a view is not a good idea since many people have an editor only setup. Having the setting in the editor tab might be a good idea. For those of you that simply want to get rid of the toggle in the tool bar (using 3.0): 1. Window > Customize Perspective 2. Commands tab 3. Uncheck "Editor Presentation"
*** Bug 51961 has been marked as a duplicate of this bug. ***
Why not add a preference *and* leave the button in the toolbar? We already have that for Mark Occurrences, and we rarely get questions about how to disable that feature. Many of the people who run into this usability bug write that they searched all preferences but found nothing. The checkbox could be on 'Preferences > Java > Editor'. Maybe even better would be the 'Preferences > Java > Editor > Folding' page, where the folding options could be grayed when the segmented mode is active.
Considering all the support expenses this toolbar button has caused, I think the "Editor Presentation" action group should be disabled by default. Adding a preference would still be good.
.
We will solve this usabilty problem for 3.3.
+1 for keeping the toolbar button
Out of the box it will probably no longer be visible but you can enable the action set to bring the button back to the toolbar.
Fixed in HEAD: - added preference to Java > Editor preference page - disabled the action set per default ==> those who like and often use the tool bar button can simply go and enable the 'Editor Presentation' action set Available in builds > N20060830-0010.
starting to verify...
verified in I20060919-0010