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 208665

Summary: "//#123456" not hyperlinked while "// #123456" is
Product: connecteddeveloper Reporter: Jesse Glick <jglick>
Component: JiraAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2012-02-20 19:26:56 UTC
Many NB sources (e.g. MavenCommandLineExecutor.java) include comments like


        //#164234
        //if maven.bat file is in space...

which do not get hyperlinked. If you add a space

        // #164234
        //if maven.bat file is in space...

then they are.

Using jrunscriptin,


bif = org.openide.util.Lookup.getDefault().lookupAll(org.netbeans.modules.bugtracking.spi.IssueFinder).iterator().next()
org.netbeans.modules.bugzilla.issue.BugzillaIssueFinder@a78e87
java.util.Arrays.toString(bif.getIssueSpans("//#123456"))
[]
java.util.Arrays.toString(bif.getIssueSpans("// #123456"))
[3, 10]
Comment 1 Tomas Stupka 2012-02-21 07:48:17 UTC
fixed in bugzilla - core-main #9ddfc1bb54ad

has also to be fixed in jira
Comment 2 Quality Engineering 2012-02-22 11:01:48 UTC
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9ddfc1bb54ad
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #208665 - "//#123456" not hyperlinked while "// #123456" is
Comment 3 markiewb 2013-05-21 20:44:12 UTC
(In reply to comment #2)
> Integrated into 'main-golden', will be available in build *201202220400* on
> http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
> Changeset: http://hg.netbeans.org/main-golden/rev/9ddfc1bb54ad
> User: Tomas Stupka <tstupka@netbeans.org>
> Log: Issue #208665 - "//#123456" not hyperlinked while "// #123456" is

@Tomas: So this issue can be resolved as fixed?
Comment 4 Tomas Stupka 2013-05-21 22:19:47 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Integrated into 'main-golden', will be available in build *201202220400* on
> > http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
> > Changeset: http://hg.netbeans.org/main-golden/rev/9ddfc1bb54ad
> > User: Tomas Stupka <tstupka@netbeans.org>
> > Log: Issue #208665 - "//#123456" not hyperlinked while "// #123456" is
> 
> @Tomas: So this issue can be resolved as fixed?
no. see comment #1