XML Quick JavaDoc

Anyone knows how to make the Quick JavaDoc (Ctrl-Q) show anything else but "No JavaDoc Found" in xml files?
Can I put comments somewhere in the .xsd file and they will show up as Quick JavaDoc in the xml file?
Thanks!

0
Avatar
Permanently deleted user

Hi,

In xsd:

<xsd:element name="web-app" type="j2ee:web-appType">
<xsd:annotation>
<xsd:documentation>

The web-app element is the root of the deployment
descriptor for a web application.

...
</xsd:documentation>
</xsd:annotation>
...
</xsd:element>
or
<xsd:complexType name="servletType">
<xsd:annotation>
<xsd:documentation>

The servletType is used to declare a servlet.
...
</xsd:documentation>
</xsd:annotation>
...
</xsd:complexType>

Maor Conforti wrote:

Anyone knows how to make the Quick JavaDoc (Ctrl-Q) show anything else but "No JavaDoc Found" in xml files?
Can I put comments somewhere in the .xsd file and they will show up as Quick JavaDoc in the xml file?
Thanks!



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

For some reason it doesn't seem to work. I still get the "No JavaDoc Found". Here are the test files that I created from your example:

test.xml:

]]>


test.xsd:


  
    
      
        The servletType is used to declare a servlet.
      
    
  
]]>


Any ideas?

0

请先登录再写评论。