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 30317 - "Go to Source" should have history stack
Summary: "Go to Source" should have history stack
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-23 16:25 UTC by jessholle
Modified: 2007-11-05 13:44 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 jessholle 2003-01-23 16:25:36 UTC
The "Go to Source" feature should create a history stack 
remembering the file, location therein, etc, in which "Go 
to Source" was executed.

The user should then be able to pop to the last location 
in the stack via a menu item and key equivalent thereof.

The stack should have a configurable depth (e.g. remember 
the last 40 locations as a default).

This would make the "Go to Source" feature *much* more 
useful for static investigations of call chains, 
inheritance hierarchies, etc, etc.  It would also be a 
very welcome and familiar feature to any users acquainted 
with vi and emacs tag stacks.

Note that the "Show Javadoc" already has this behavior 
through the browser's history stack.

I would potentially be interested in assisting on such an 
effort, though I know *nothing* of the internals of 
NetBeans.  All the same, it would seem that this *should* 
be simple.
Comment 1 jessholle 2003-01-27 15:45:52 UTC
It turns out that the capability I was requesting was 
already there -- probably for some time.  Unfortunately, 
it was not readily apparent in any menus, etc.  It was 
listed in the Key Bindings, but with terseness such that I 
would not have known what I was looking at unless/until I 
already knew what to look for.

By reading the source code, I found JumpList -- which 
behaves quite like I'd described (except with a history 
limit of 50 :-)  In case someone else finds this later who 
is also having trouble finding this feature, I should 
mention that the default key combinations are Alt-K (back) 
and Alt-L (forward).

Perhaps someone should open a doc bug on this topic, but 
I'm sated now that I've found this feature already in 
place.