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 6464 - [Explorer View] Highlight new method in Explorer Window
Summary: [Explorer View] Highlight new method in Explorer Window
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on: 6559
Blocks:
  Show dependency tree
 
Reported: 2000-04-27 21:49 UTC by Jan Palka
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Jan Palka 2000-04-27 21:49:40 UTC
1. Starting from a directory, I right click on the directory and get the New from template -> Classes -> Class option.
2. Create the class (call it BryanClass), click finish.
3. In the Explorer window, expand the "BryanClass" tab.
4. Once that menu opens up, expand "class BryanClass" tab.
5. Right click on "Methods", select "New Method".

6. Use the name "btvMethod", select defaults, add a parameter type=String,  name=test (I don`t think adding the parameter changes anything, FYI)
6. On the first method, the Methods tab is highlighted.  I though it would be great if it would open up the tab for me to let me know    (visually) that I had created a method, without having to open
it up.
7. If I expand the Methods tab, btvMethod is there, but the cursor on the Editor window is at the top (!!) -- the cursor _isn`t_ moved to the newly created method "btvMethod".
8. So I have the Methods tab open, with the btvMethod showing (because I manually opened it)
9. When I create a new method, btv2Method (using same method starting at #5 above), btv2Method shows up on the Methods tab, but _Methods_ is still hightlighted (my suggestion is to have btv2Method hig
hlighted, so there is a visual cue as to what I just created.  This becomes more important when there are already a lot of existing methods (from an existing project that I am taking over).  I want to
 be able to create a method signature this way, then have it hightlighted for me (in the Explorer tree) so I can immediately click on it.
   Also, the _CURSOR_ is still at the _TOP_ of the file in the Editor menu.
   (doesn`t move to the newly created methods in either case).
Comment 1 Marek Grummich 2000-07-25 09:08:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Lahoda 2001-01-24 15:37:59 UTC
Only changed version to Development.
Comment 3 Petr Nejedly 2001-02-06 15:17:59 UTC
ad 7) The expansion of node isn't enough to make editor change caret position,
try double-clicking.
I agree with the rest.
Comment 4 Jan Chalupa 2001-03-12 10:45:41 UTC
Version: 'Dev' -> 3.2
Comment 5 Jan Chalupa 2001-05-05 23:20:28 UTC
Target milestone -> 3.3
Comment 6 Jan Chalupa 2001-11-27 12:49:57 UTC
Target milestone -> 3.3.1.
Comment 7 Marek Grummich 2002-07-22 10:49:39 UTC
Set target milestone to TBD
Comment 8 Jaroslav Tulach 2003-12-03 10:28:51 UTC
Works since release35.