[jbosstools-issues] [JBoss JIRA] (ERT-386) code formatter inserts line breaks after const qualifier [EBZ#399501]

Victor Rubezhny (JIRA) issues at jboss.org
Wed Oct 5 20:03:00 EDT 2016


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

Victor Rubezhny commented on ERT-386:
-------------------------------------

Imho, In future we should get rid of these ClassFileConstants as they are a relict of old JDT-like parser and now, after we've changed the parser, they aren't relevant anymore.


> code formatter inserts line breaks after const qualifier [EBZ#399501]
> ---------------------------------------------------------------------
>
>                 Key: ERT-386
>                 URL: https://issues.jboss.org/browse/ERT-386
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: JSDT
>            Reporter: Friendly Jira Robot
>            Assignee: Victor Rubezhny
>            Priority: Trivial
>              Labels: General, bzira
>             Fix For: Neon.2 (4.6)
>
>
> for a code line like
> const FOO = "bar";
> the code formatter inserts a line break after the const keyword, resulting in
> const
> FOO = "bar";
> While this simply looks ugly (to me) code verification reports a warning "Missing semicolon", so I get many nasty m,arkers on source files.
> Please remove those line breaks or make them settable in the formatter settings.



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


More information about the jbosstools-issues mailing list