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 262638 - First sentence highlighting does not consider {@inheritDoc}
Summary: First sentence highlighting does not consider {@inheritDoc}
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 20:07 UTC by matthies
Modified: 2016-06-30 20:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2016-06-30 20:07:08 UTC
In a javadoc comment like

    /**
     *  {@inheritDoc}
     *  <p>
     *  Here are some additional notes.
     *  And some more comments.
     */

everything up to "notes." is highlighted as Javadoc First Sentence, although the first sentence (generally) is within the inherited description.

When a javadoc comment contains an {@inheritDoc} tag within what is matched as the first sentence, it therefore should not be highlighted as such.
(Or else NetBeans should take the contents of the inherited description into account when it is available.)