[jbosstools-issues] [JBoss JIRA] (JBIDE-24797) Code formatter: define and hook code formatting enforcement for github PRs

Andre Dietisheim (JIRA) issues at jboss.org
Thu Aug 3 10:39:00 EDT 2017


Andre Dietisheim created JBIDE-24797:
----------------------------------------

             Summary: Code formatter: define and hook code formatting enforcement for github PRs
                 Key: JBIDE-24797
                 URL: https://issues.jboss.org/browse/JBIDE-24797
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
          Components: openshift
    Affects Versions: 4.5.0.Final
            Reporter: Andre Dietisheim
             Fix For: 4.5.1.AM1


Code formatting differs across developers. 
The most prominent differences I am aware of are
* use spaces vs tabs
* if statements:
```
if(XX){
```
vs
```
if (XX) {
```
* insonsitent code identations 
* odd identations of braces for anonymous classes
```
             class Listener {
int i = 0;
 public void method()        {
             }
   }
```
 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list