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 - Output window: render URLs and local path as hyperlinks
Summary: Output window: render URLs and local path as hyperlinks
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 16:08 UTC by NukemBy
Modified: 2013-11-29 13:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.