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 217050

Summary: Go to file with line number
Product: utilities Reporter: markiewb
Component: Jump ToAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: markiewb
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 217304    
Bug Blocks:    
Attachments: Contributed patch based on main

Description markiewb 2012-08-17 23:19:22 UTC
Enhance the goto file dialog to support line numbers.

Use the postfix ':linenumber'

For example:
* search for 'My*Object.java:123' -> MyDummyClassObject.java will be found and shown in the listbox
* opening the file MyDummyClassObject.java from the listbox will open the file at the given line number 123
Comment 1 markiewb 2012-08-17 23:26:30 UTC
Created attachment 123274 [details]
Contributed patch based on main

Proposed patch for this feature.
Comment 2 Tomas Zezula 2012-08-23 13:18:06 UTC
I've extended the SPI for plugins, submitted an API change request.
Comment 3 Tomas Zezula 2012-09-05 07:13:50 UTC
Fixed jet-main 1b5cfdcd1598
Comment 4 Quality Engineering 2012-09-07 02:11:03 UTC
Integrated into 'main-golden', will be available in build *201209070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1b5cfdcd1598
User: Tomas Zezula <tzezula@netbeans.org>
Log: #217050:Go to file with line number