[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8271) Help text for CDI filed conent assist proposal contains unnecessary text with weird symbols in header and doesn't contains any text in case of missing javadoc

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Mon Mar 14 17:47:45 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-8271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587891#comment-12587891 ] 

Victor Rubezhny commented on JBIDE-8271:
----------------------------------------

Probably, not. It's realized in standard HTMLPrinter class which creates HTML page using the <h5> and <p> tags. The space between header and text is controlled by browser component that is used to display generated HTML.

The HTML code according to your screenshot will be the following:

<html>
<body text="#ffffff" bgcolor="#000000"> <h5>
<span style='word-wrap:break-word;'>
<a class='header' href='eclipse-javadoc:%E2%98%82=jsf12kick/JavaSource%3Cdemo%7BUser.java%E2%98%83User~getName%E2%98%82String'>String</a> demo.<a class='header' href='eclipse-javadoc:%E2%98%82=jsf12kick/JavaSource%3Cdemo%7BUser.java%E2%98%83User'>User</a>.getName()
</span></h5>
<p><dl><dt>Returns:</dt><dd> User Name </dd></dl><br/> <h5><span style='word-wrap:break-word;'>void demo.<a class='header' href='eclipse-javadoc:%E2%98%82=jsf12kick/JavaSource%3Cdemo%7BUser.java%E2%98%83User'>User</a>.setName(<a class='header' href='eclipse-javadoc:%E2%98%82=jsf12kick/JavaSource%3Cdemo%7BUser.java%E2%98%83User~setName~QString;%E2%98%82String'>String</a> name)</span></h5><p><dl><dt>Parameters:</dt><dd><b>User</b>  Name</dd><dd><b>name</b> </dd></dl><br/>
</body>
</html>


> Help text for CDI filed conent assist proposal contains unnecessary text with weird symbols in header and doesn't contains any text in case of missing javadoc
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8271
>                 URL: https://issues.jboss.org/browse/JBIDE-8271
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.CR1
>            Reporter: Denis Golovin
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M1
>
>         Attachments: getterAndSetterWithJavadoc.jpg, getterAndSetterWithNoJavadoc.jpg, screenshot58.png
>
>
> Help for selected proposal should contain text from javadoc or state that javadoc comment cannot be found for setter and getted methods if present

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list