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 31138

Summary: Jump to task
Product: projects Reporter: miks <miks>
Component: AntAssignee: issues@projects <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: UI
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: ENHANCEMENT Exception Reporter:

Description miks 2003-02-17 09:48:21 UTC
It should be possible to jump to a task in a Ant project.
Let me explain:
In the explorer editor the ant tasks shown. If I what to 
go to this task in the editor window there is no easy way! 
I have to go to the ant project root, then edit the file 
then search the specific task. 
If when pointing on a task the menu displayed show "Jump 
to task" option, then it would be nice. 
Of course this option does the following:
1. open the Ant project script (if not already opened) in 
the editor window
2. Jump to the task requested.
Comment 1 John Jullion-ceccarelli 2003-02-17 09:59:24 UTC
The IDE's unwritten rule for jumping to a code element from the
Explorer is to just double-click its node in the Explorer (works for
all Java elements and for properties). This rule isn't followed by Ant
(double-clicking target runs it, task opens its property sheet) and
XML (double-clicking any node opens its customizer). We may want to
consider standardizing this behavior for all Explorer nodes rather
than adding an Ant-specific contextual menu command.
Comment 2 Jesse Glick 2003-02-17 19:36:36 UTC
Sorry, cannot do for now without a lot of ugly code.

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