[jbosstools-issues] [JBoss JIRA] (ERT-386) code formatter inserts line breaks after const qualifier [EBZ#399501]
Angel Misevski (JIRA)
issues at jboss.org
Thu Oct 6 12:06:01 EDT 2016
[ https://issues.jboss.org/browse/ERT-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13303611#comment-13303611 ]
Angel Misevski commented on ERT-386:
------------------------------------
[~vrubezhny] I agree. I didn't want to go too deep into fixing this, because ideally we would be able to remove the entire old parser/scanner/compiler framework and use ASTParser exclusively.
> 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