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: | Add 'Navigation' from pom to pom | ||
---|---|---|---|
Product: | projects | Reporter: | tomzi <tomzi> |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | IDE log |
Description
tomzi
2013-02-19 13:16:22 UTC
Created attachment 131566 [details]
IDE log
the problem with Ctrl-click on a large block of xml like dependencies is what should be underlined when invoking the link. another problem is the difference between source and repository poms. Sourcebase pom files are more useful to be navigated to than repository only pom files. partly implemented in a slightly different way for parent poms, when cursor is inside <parent> section in 7.3, a green I icon appears in the sidebar and is clickable leading to parent pom. I was not capable of associating the same keyboard shortcut to it as the similar java operation has. I don't think you have to have everything feature complete at once. But from my developer point of view. I want to .) navigate to the dependency with in my currently open project first when clicking on an artifactId .) if it is not in the project tree - open the pom from the local repository .) and so on. I did not under stand the part with the 'what should be underlined when invoking the link.'? I'd guess that you always should underline the artifactId, when holding CTRL. If the pom cannot be resolved, maybe some info message would help - 'Cannot find log4j-over-sl4j.1.2.3.pom' FYI: something similar is already implemented for the parent-section of pom.xml. You can navigate to the parent.xml by CTRL-click (In reply to comment #4) > FYI: something similar is already implemented for the parent-section of > pom.xml. You can navigate to the parent.xml by CTRL-click There's one drawback of the current solution and that's the missing shortcut. I've tried to come up with something that would be bound to Go to Declaration, but after some experiments I gave up. There's either a shortcut or visual representation (like we have now for parent) Unfortunately the usual Hyperlink UI is not very usable here. we need a visual marker that appears either all the time or when the given section is charged (selected or caret positioned). And with the current annotation + hyperlink api it's unachievable. So unlikely for 7.4 unless we reach a sudden breakthrough.. 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 valid in 8.2 dev Product Version: NetBeans IDE Dev (Build 201607100002) |