You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Vincent Siveton (JIRA)" <ji...@apache.org> on 2008/02/17 14:20:34 UTC

[jira] Created: (SHINDIG-76) Defining IDE conf files

Defining IDE conf files
-----------------------

                 Key: SHINDIG-76
                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
             Project: Shindig
          Issue Type: Task
            Reporter: Vincent Siveton
            Assignee: Brian McCallister


Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

Vincent Siveton updated SHINDIG-76:
-----------------------------------

    Attachment: shindig-eclipse-codetemplate.xml
                shindig-eclipse-codestyle.xml

First codestyle and codetemplate files for Eclipse IDE. 

I tried to auto discover Shindig code style, maybe I missed some styles.
The code template is mainly to specify Apache header and some SVN keywords.


> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>            Reporter: Vincent Siveton
>            Assignee: Brian McCallister
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


Re: [jira] Updated: (SHINDIG-76) Defining IDE conf files

Posted by Ian Boston <ie...@tfd.co.uk>.
Should this be integrated into the maven setup for eclipse ?
Ian



On 5 May 2008, at 23:51, Vincent Siveton (JIRA) wrote:

>
>      [ https://issues.apache.org/jira/browse/SHINDIG-76? 
> page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Vincent Siveton updated SHINDIG-76:
> -----------------------------------
>
>     Attachment: NEW.shindig-eclipse-codestyle.xml
>
> New Eclipse code style according [1].
> Now, no more excuses to not apply patches due to "plz respect our  
> code style" :)
>
> [1] http://cwiki.apache.org/confluence/display/SHINDIGxSITE/Java+Style
>
>> Defining IDE conf files
>> -----------------------
>>
>>                 Key: SHINDIG-76
>>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>>             Project: Shindig
>>          Issue Type: Task
>>          Components: Gadget Rendering Server (Java)
>>            Reporter: Vincent Siveton
>>         Attachments: NEW.shindig-eclipse-codestyle.xml, shindig- 
>> eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>>
>>
>> Shindig needs to have IDE conf files, like codestyle or code  
>> template.
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

Vincent Siveton updated SHINDIG-76:
-----------------------------------

    Attachment: NEW.shindig-eclipse-codestyle.xml

New Eclipse code style according [1].
Now, no more excuses to not apply patches due to "plz respect our code style" :)

[1] http://cwiki.apache.org/confluence/display/SHINDIGxSITE/Java+Style

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadget Rendering Server (Java)
>            Reporter: Vincent Siveton
>         Attachments: NEW.shindig-eclipse-codestyle.xml, shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Commented: (SHINDIG-76) Defining IDE conf files

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569732#action_12569732 ] 

Kevin Brown commented on SHINDIG-76:
------------------------------------

Style is still inconsistent at this point, because we haven't yet published a style guide. Once we get a style guide published (and sorted out the debates that are sure to follow on shindig-dev), we'll update all the source for consistency.

Right now it's more or less:

- Java: Sun style rules, but with 2 space indents
- javascript: similar to Java; 

camelCased local and closure variable names and public members

trailingUnderscore_ public members that are meant to be treated as private

LeadingCaps constructors and "enums"

ALL_CAPS "constants"

prototype style objects for things with constructors

closure style for singletons / packages

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>            Reporter: Vincent Siveton
>            Assignee: Brian McCallister
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

David Primmer updated SHINDIG-76:
---------------------------------

    Attachment: shindig.importorder

Here's another file that controls coding style: this file wil make eclipse do the right thing regarding import order. 
import this file in your prefs>java>code style>organize imports


> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadget Rendering Server (Java)
>            Reporter: Vincent Siveton
>         Attachments: NEW.shindig-eclipse-codestyle.xml, shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml, shindig.importorder
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Commented: (SHINDIG-76) Defining IDE conf files

Posted by "David Primmer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594517#action_12594517 ] 

David Primmer commented on SHINDIG-76:
--------------------------------------

the  NEW.shindig-eclipse-codestyle.xml (28 kb) file does not respect the 80 column limit in a number of places. it also doesn't do the right thing with tabs.

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadget Rendering Server (Java)
>            Reporter: Vincent Siveton
>         Attachments: NEW.shindig-eclipse-codestyle.xml, shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml, shindig.importorder
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

David Primmer updated SHINDIG-76:
---------------------------------

    Component/s:     (was: Gadget Rendering Server (Java))
                 Common Components (Java)

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Common Components (Java)
>            Reporter: Vincent Siveton
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codestyle_2.xml, shindig-eclipse-codetemplate.xml, shindig.importorder
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

Vincent Siveton updated SHINDIG-76:
-----------------------------------

    Attachment:     (was: NEW.shindig-eclipse-codestyle.xml)

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadget Rendering Server (Java)
>            Reporter: Vincent Siveton
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml, shindig.importorder
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

Kevin Brown updated SHINDIG-76:
-------------------------------

    Component/s: Gadgets Server - Java
       Assignee:     (was: Brian McCallister)

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadgets Server - Java
>            Reporter: Vincent Siveton
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Commented: (SHINDIG-76) Defining IDE conf files

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570678#action_12570678 ] 

Vincent Siveton commented on SHINDIG-76:
----------------------------------------

Thread on dev@
http://mail-archives.apache.org/mod_mbox/incubator-shindig-dev/200802.mbox/%3caa285c160802171914m4fc102d0p481751d0a3d8ddb8@mail.gmail.com%3e

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>            Reporter: Vincent Siveton
>            Assignee: Brian McCallister
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codetemplate.xml
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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


[jira] Updated: (SHINDIG-76) Defining IDE conf files

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

Vincent Siveton updated SHINDIG-76:
-----------------------------------

    Attachment: shindig-eclipse-codestyle_2.xml

I was pretty sure that I exported with the correct column limit. Seems not ;)
shindig-eclipse-codestyle_2.xml is a new patch.

> Defining IDE conf files
> -----------------------
>
>                 Key: SHINDIG-76
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-76
>             Project: Shindig
>          Issue Type: Task
>          Components: Gadget Rendering Server (Java)
>            Reporter: Vincent Siveton
>         Attachments: shindig-eclipse-codestyle.xml, shindig-eclipse-codestyle_2.xml, shindig-eclipse-codetemplate.xml, shindig.importorder
>
>
> Shindig needs to have IDE conf files, like codestyle or code template.

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