Reuse quick javadoc generation

I'm trying to write some javadoc editing tools, and I would like to be able to show what the javadoc currently looks like.  This is what quick javadoc knows how to do.

However the code that does this work for quick javadoc doesn't appear to be accessible to plugin developers.

Is there a way to use that code from a plugin?

2 comments

Hello Ken,

What exactly do you need to do? If you need to fetch the contents of the
javadoc rendered as HTML, the API you need to use is LanguageDocumentation.forLanguage(element.getLanguage()).generateDoc(element,
null).

Of course, you're welcome to refer to the Community Edition source code,
which includes all of that functionality.

I'm trying to write some javadoc editing tools, and I would like to be
able to show what the javadoc currently looks like.  This is what
quick javadoc knows how to do.

However the code that does this work for quick javadoc doesn't appear
to be accessible to plugin developers.

Is there a way to use that code from a plugin?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Yes, that's what I needed to do.

I should point out that simply looking at the source in the community edition doesn't easily get me to these abstractions.  The concrete classes are findable by their behavior, but knowing which abstractions are in the API to handle such things is not easy.

Thanks for the help.

0

Please sign in to leave a comment.