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 123968 - nb6.0: buttons to show individual file/class to target window
Summary: nb6.0: buttons to show individual file/class to target window
Status: RESOLVED DUPLICATE of bug 71319
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
Depends on:
Reported: 2007-12-13 16:32 UTC by wqtnetbeans
Modified: 2008-08-20 17:01 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description wqtnetbeans 2007-12-13 16:32:34 UTC
I am on 6.0p1. I expect when I have a Java class open in the editor and mouse cursor within it, pressing "ctrl + 1"
should expand the project package and high-light the current class node in the project pane. But not happening. Neither
does "ctrl + 2" or "ctrl + 3".
Comment 1 wqtnetbeans 2007-12-13 16:34:49 UTC
Well, I found out "ctrl + shift + 1" works as expected. Seems the code is still using the old keymap while the "Window"
menu says new keymap for it.
Comment 2 wqtnetbeans 2007-12-27 05:36:44 UTC
I realized this behavior is intentional: The items and key maps (like ctrl + 1) in the Windows menu simple bring up the
corresponding window in the IDE, and have nothing to do with showing individual file/class in the target window. This is
a change from the previous behavior prior to 6.0, where the items in the Windows menu were really for "Show individual
file/class in window". 

While the change makes sense in that Windows menu should do "top level" Windows things rather than for individual
file/class, it's not as useful as "show file/class in target window", ie. crtl+shift+1/2/3. 

As a matter of fact, crtl+shift+1/2/3... are so frequently used that they warrant dedicated buttons where the user can
push and "sync" the currently edited file/class to its target window. This is a common UI design for both Eclipse and
IntelliJ. If NetBeans can place these buttons among the "tool bar" buttons of the editor window, it'd be a real
Comment 3 Peter Pis 2008-08-20 14:05:25 UTC
Reassigning to "apisupport".
Comment 4 rmichalsky 2008-08-20 15:41:23 UTC
It should work for all kinds of projects, not only apisupport. IMHO all required API on the side of projects is already
there, this is mostly UI issue (e.g. "Keep in sync with editor" checkbox in popup menu in Projects and Files windows).
Comment 5 Jesse Glick 2008-08-20 17:01:54 UTC
Long filed, long ignored, I don't know why.

*** This issue has been marked as a duplicate of 71319 ***