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.
Summary: | [68cat] 'Select Node in Files' should locate file relative to the most specific mount point | ||
---|---|---|---|
Product: | projects | Reporter: | matthies <matthies> |
Component: | Generic Projects UI | Assignee: | Tomas Stupka <tstupka> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot |
Description
matthies
2007-07-08 22:40:58 UTC
Reassigning to "j2ee" for evaluation... I don't think it's necessarily JEE-specific. Whenever you have nested directory trees, it's very likely that the user expects the file to be selected in the tree whose root is nearest to the file. It's true that this issue is more general. Not sure where this action is implemented - perhaps projects infra? Either I'm not able to reproduce or I don't understand correctly. Attaching screenshot with EnterpriseApplication1 and EJBModule1 projects. EJBModule1 was created under EntrpriseApplication1 and added to the application. Then I created class under EJBModule1 and then did Ctrl+Shift+2 and on the screenshot you can see which one was selected. Created attachment 46790 [details]
screenshot
You can reproduce the problem when choosing a name for the module project which comes lexicographically _after_ the name of the EA project (like the "A" and "B" in my example). "EJBModule1" comes before "EnterpriseApplication1", so the issue doesn't become apparent with these names. "Select Node in Files" locates the file in whichever project comes first in the "Files" tree view. IMO the logic should not depend on the project names. (My current workaround is to rename "outer" projects to something like "Z.<actual name>"...) moving opened issues from TM <= 6.1 to TM=Dev I think that this is not P3 issue, lowering priority. Updated TM. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss Still relvant in current dev build. |