Bug 63948 - [syntax highlighting] Javadoc extension
Summary: [syntax highlighting] Javadoc extension
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 15:33 EDT by Victor Costan CLA
Modified: 2004-05-26 15:21 EDT (History)
0 users

See Also:


Attachments
Plugin providing code completion for 6.170-specific javadoc tags. (18.58 KB, application/octet-stream)
2004-05-26 15:21 EDT, Victor Costan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Costan CLA 2004-05-25 15:33:14 EDT
I find it very funny that I can alter code completion to integrate MIT's 6.170 
javadoc tags, yet I cannot make syntax highlighting show them in a nice way.

I think you guys should do something about that, for completeness. Also, I'm 
supposed to write a plugin doing this, so it would be very nice to have a way 
to do it.

I appologize in advance if the feature was there but I didn't see it... but 
I've really been looking for it. And I did implement auto-completion.
Comment 1 Dani Megert CLA 2004-05-26 06:27:07 EDT
how did you integrate those tags?
Comment 2 Victor Costan CLA 2004-05-26 15:18:41 EDT
I wrote a plugin extending org.eclipse.jdt.ui.javadocCompletionProcessor.

I am attaching the plugin below. I think this bug belongs to the "text" group, 
because it would be best to have the parser mark the tags in the right way, so 
that all tools using the AST work on new javadoc tags.

Perhaps it would be most convenient to provide plugins with a way to register 
javadoc tags. This way, you can't have a bad plugin mess up existent 
functionality. On the other hand, this would probably limit the flexibility on 
the new javadoc tags' format.
Comment 3 Victor Costan CLA 2004-05-26 15:21:15 EDT
Created attachment 11157 [details]
Plugin providing code completion for 6.170-specific javadoc tags.

This is the complete workspace for the plugin I described.