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 223515 - URL link - recognize links to local files
Summary: URL link - recognize links to local files
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All Windows XP
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2012-12-08 09:36 UTC by mariusz_m
Modified: 2013-08-29 13:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
implementation (2.83 KB, patch)
2012-12-17 13:37 UTC, Milutin Kristofic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2012-12-08 09:36:19 UTC
The editor recognize "http://" links to open web page.
How about make it possible to open pages stored on local disc? 
I put links like this into my code:

"file:///C:/CodeSourceryG++Lite/share/doc/arm-arm-none-eabi/html/getting-started/sec-cs3-startup.html"
Comment 1 Milutin Kristofic 2012-12-17 13:37:21 UTC
Created attachment 129454 [details]
implementation

I implement your enhancement. I will discuss this during planning phase.
Comment 2 mariusz_m 2012-12-17 16:19:22 UTC
Thanks for this.
And BTW: links like this
http://msdn.microsoft.com/en-us/library/dd183494(v=vs.85).aspx
are highlighted as
http://msdn.microsoft.com/en-us/library/dd183494

This link also work, but is this URL truncating correct?
Comment 3 Milutin Kristofic 2012-12-17 18:29:49 UTC
According to url specification http://www.w3.org/Addressing/URL/url-spec.txt

Brackets belongs to extra characters, which are allowed to url path. In current implementation we allow only comma (,) from extra characters and we don't allow @ from safe characters.
Comment 4 Milutin Kristofic 2013-08-29 13:31:15 UTC
http://hg.netbeans.org/jet-main/rev/3788c05ea179