Bug 166897 - [spell checking] @code is picked up as a spelling error
Summary: [spell checking] @code is picked up as a spelling error
Status: RESOLVED DUPLICATE of bug 68898
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 20:57 EST by Brock Janiczak CLA
Modified: 2006-12-11 02:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brock Janiczak CLA 2006-12-05 20:57:37 EST
Version: 3.3.0
Build id: I20061102-1715

The JavaDocTagDictionary does not currently consider @code to be a valid word (i think it was introduced in Java5).  I think all that is required is to add @code to the list of valid constants in IJavaDocTagConstants.

There should be no spelling errors in the following snippet

public class SpellingErrors {
  /**
    * {@code main}
    */
  public void main(String[] args) {
  }
}
Comment 1 Dani Megert CLA 2006-12-11 02:25:07 EST

*** This bug has been marked as a duplicate of bug 68898 ***