Bug 166897

Summary: [spell checking] @code is picked up as a spelling error
Product: [Eclipse Project] JDT Reporter: Brock Janiczak <brockj>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***