[forge-issues] [JBoss JIRA] (ROASTER-54) Formatter doesn't apply on Javadoc

Jeremie Bresson (JIRA) issues at jboss.org
Wed Sep 16 03:09:00 EDT 2015


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

Jeremie Bresson commented on ROASTER-54:
----------------------------------------

I have proposed a pull request:
https://github.com/forge/roaster/pull/43

2 examples (implemented in the {{testFormatWithJavaDocOptions()}} unit-test):

With default options:

{code:java}
/**
 * Class documentation text
 * 
 * @author George Gastaldi
 */
public class SomeClass {
}
{code}


With these options:

* org.eclipse.jdt.core.formatter.comment.line_length=25
* org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=false


{code:java}
/** Class documentation
 * text
 * 
 * @author George
 *         Gastaldi */
public class SomeClass {
}
{code}



> Formatter doesn't apply on Javadoc
> ----------------------------------
>
>                 Key: ROASTER-54
>                 URL: https://issues.jboss.org/browse/ROASTER-54
>             Project: Roaster
>          Issue Type: Bug
>          Components: Formatter
>    Affects Versions: 2.11.1.Final
>            Reporter: Nicolas Challut
>             Fix For: 2.x Future
>
>
> Apparently, the formatter doesn't apply the format preferences on JavaDoc.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list