You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benjamin Bentmann (JIRA)" <ji...@apache.org> on 2008/04/25 11:27:56 UTC

[jira] Created: (COMMONSSITE-28) Create code styles for import into IDEs

Create code styles for import into IDEs
---------------------------------------

                 Key: COMMONSSITE-28
                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
             Project: Commons All
          Issue Type: Task
            Reporter: Benjamin Bentmann


Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847824#action_12847824 ] 

Henri Yandell commented on COMMONSSITE-28:
------------------------------------------

Noting that the checkstyle feature was resolved as too difficult for the value.

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed COMMONSSITE-28.
------------------------------------

    Resolution: Later

Resolving this.

There's no reason why each component can't have an Eclipse, NetBeans, IDEA or whatever style formatter (hopefully the IDEs have a standard, but I suspect I'm being optimistic). I don't think it's something that we're going to mandate though.

Contributions welcome to each component.

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Dennis Lundberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592596#action_12592596 ] 

Dennis Lundberg commented on COMMONSSITE-28:
--------------------------------------------

Unfortunately there is not a single common code style for Apache Commons. There are a bunch of variants. Previous attempts at merging these into one has failed.

That being said, I'm very much in favor of a single code style for Apache Commons.

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592604#action_12592604 ] 

Henri Yandell commented on COMMONSSITE-28:
------------------------------------------

Many components have checkstyle.xml's. Can IDEs not parse that? [Vim is my editor, Eclipse/JProfiler are my debuggers].

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Benjamin Bentmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592600#action_12592600 ] 

Benjamin Bentmann commented on COMMONSSITE-28:
----------------------------------------------

bq. I'm very much in favor of a single code style for Apache Commons.
+1

Anyway, even if all subprojects want to continue to use their own style, they should make these rules explicit for easy import into IDEs. I can hardly believe that the committers don't already employ format templates so this should merely be a matter of exporting their styles and upload them somewhere on their project's site.

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COMMONSSITE-28) Create code styles for import into IDEs

Posted by "Benjamin Bentmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COMMONSSITE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592645#action_12592645 ] 

Benjamin Bentmann commented on COMMONSSITE-28:
----------------------------------------------

I just tried the Checkstyle plugin for Eclipse but so far have not found a way to reuse the {{checkstyle.xml}} to setup a formatter :( Just raised feature request [#1952686|http://sourceforge.net/tracker/index.php?func=detail&aid=1952686&group_id=80344&atid=559497] for this, guess that's the easier way to go.

> Create code styles for import into IDEs
> ---------------------------------------
>
>                 Key: COMMONSSITE-28
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-28
>             Project: Commons All
>          Issue Type: Task
>            Reporter: Benjamin Bentmann
>
> Projects or preferably the entire Commons suite should define code styles that can be imported into popular IDEs like Eclipse or IDEA such that contributers can easily follow the desired formatting rules. Compare [Maven Code Style|http://maven.apache.org/developers/committer-environment.html#Maven_Code_Style].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.