This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 55900 - [50cat] Current method not displayed in editor
Summary: [50cat] Current method not displayed in editor
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker with 14 votes (vote)
Assignee: issues@editor
URL:
Keywords:
: 62681 66025 (view as bug list)
Depends on: 57129 57804
Blocks:
  Show dependency tree
 
Reported: 2005-03-03 15:14 UTC by gholmer
Modified: 2007-11-05 13:44 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2005-03-03 15:14:32 UTC
[ BUILD # : 200502281900 ]
[ JDK VERSION : 1.4.2_xx ]

With the removal of the method dropdown in the editor (in favor of the Navigator), there is no longer any indication of which method is currently being edited (the dropdown used to update as you moved from method to method).
Comment 1 Jan Chalupa 2005-03-03 16:00:41 UTC
This could be addressed by changing the selected method (and
potentially scrolling the view) in Navigator.
Comment 2 ulfzibis 2005-04-12 23:38:46 UTC
I also support for the dropdown in the editor.

See Issue 57804.
Comment 3 keithmarsh 2005-05-11 17:24:35 UTC
This is really infuriating.  When searching for a string in a large file, you
have no idea which method you're in when the editor jumps to a matching string.
I'm having to put a comment of the method name above case labels to help me.
Please put this back into 4.1 even though it isn't a show stopper
Comment 4 Roman Strobl 2005-08-19 16:04:53 UTC
*** Issue 62681 has been marked as a duplicate of this issue. ***
Comment 5 cezariusz 2005-10-12 09:42:25 UTC
*** Issue 66025 has been marked as a duplicate of this issue. ***
Comment 6 clever 2005-12-21 14:47:12 UTC
I feel that the problem is fixed... IF the user always has the navigator window
opened. However, I really feel that there should be a cleaner "quick" reference
that a user can glimpse at (like the old dropdown) in the editor that gives an
indication of what member they are currently sitting on.

I have found myself wasting time scanning the navigator up and down finding the
highlighted entry. It's lost productivity. And, if I close the navigator, I find
myself fumbling even more..
Comment 7 clever 2005-12-21 14:49:54 UTC
This problem should be considered more serious than it currently is. Since the
navigator is an optional component, it just cannot be considered an acceptable
solution to the problem, for the long term.
Comment 8 vvainio 2005-12-29 11:32:10 UTC
I'm really missing the method dropdown. I know about Navigator, but I don't
think Navigator is a good match for the dropdown for the following reasons:

1. Navigator does not provide you with the tracking ability you had with the
dropdown. With dropdown you easily see where you are in the code. So the
dropdown is not just about natigating (changing place), it's very much about
visualizing the code structure too.

2. If you Maximize the Source editor to see as much code as possible at once,
you lose the Navigator from screen, but the Source editor toolbar is still
visible. Having to come out of the maximized state to see the Navigator severely
harms its usability.

There is plenty of unused space in the Source editor toolbar for the "method
dropdown" as it is, so putting the dropdown back in the toolbar shouldn't even
be a trade-off with any other feature, it could be added without taking anything
out.
Comment 9 ulfzibis 2006-01-02 19:16:43 UTC
@ vvainio

Very good arguments. I agree !!!

Comment 10 gholmer 2007-10-24 15:20:26 UTC
As the one who raised this issue initially, I'm marking it FIXED, 
because the Navigator window in 6.0 now provides this functionality.

If you feel the bug should remain open, please mark it so with
an explanation.