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 238513

Summary: Output window: render URLs and local path as hyperlinks
Product: platform Reporter: NukemBy
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description NukemBy 2013-11-18 16:08:56 UTC
I have a program which generates paths to local files while running (on the fly compilation of internal staff) and I'd like to be able to CTRL-CLick open mentioned file in NetBeans IDE at specifie position. Sample output

Case #1

C:\path\to\file.ext:[5,11] error: variable @dummy is undefined

RegExp: 
(?<filepath>.*)\:\[(?<line>\d*),(?<column>\d*)\] (?<severity>.*): (?<message>.*)


Case #2 (with maven-like output severity prefix)

[ERROR] C:\path\to\file.ext:[5,11] error: variable @dummy is undefined

RegExp (for both cases): 
(?:\[(?<outputSeverity>[^\]]*)\]\s)?(?<filepath>.*)\:\[(?<line>\d*),(?<column>\d*)\] (?<severity>.*): (?<message>.*)


Case #3: URL somewhere in text

... some text output window with URL to http://mysite.com/my-url ...


Currently I see only "hyperlinked exceptions" as described in http://wiki.netbeans.org/TS_74_OutputWindow and Case #1 work for output provided by MAVEN.