Hi, Thank you Scott for pointing out. It seems the file need lot more modifications.
By the way, I could find a plugin for Intellij<http://plugins.intellij.net/plugin/?idea&id=6546>that use Eclipse preference file(codestyle.xml) and format code accordingly. I tried out that and seems it format the code correct. On Tue, May 1, 2012 at 4:23 PM, Paul Sharples <[email protected]>wrote: > On 01/05/2012 10:30, Scott Wilson (JIRA) wrote: > >> [ https://issues.apache.org/**jira/browse/WOOKIE-333?page=** >> com.atlassian.jira.plugin.**system.issuetabpanels:comment-** >> tabpanel&focusedCommentId=**13265723#comment-13265723<https://issues.apache.org/jira/browse/WOOKIE-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265723#comment-13265723>] >> >> Scott Wilson commented on WOOKIE-333: >> ------------------------------**------- >> >> Thanks Pushpalanka - I had a look and for Java settings it says: >> >> <option name="USE_TAB_CHARACTER" value="true" /> >> <option name="SMART_TABS" value="true" /> >> >> For Wookie I *think* we prefer to use space characters rather than tabs >> for indenting Java code - though looking back through the list I can't seem >> to find the discussion anywhere. Anyone else remember it? >> > > I can't remember either, but as you say the eclipse code formatter > template is set to use spaces rather than tabs. > > Paul > > > >> Creating IntelliJ code style and code template files >>> ------------------------------**---------------------- >>> >>> Key: WOOKIE-333 >>> URL: >>> https://issues.apache.org/**jira/browse/WOOKIE-333<https://issues.apache.org/jira/browse/WOOKIE-333> >>> Project: Wookie >>> Issue Type: Task >>> Components: Configuration >>> Environment: Development tasks using Intellij IDEA >>> Reporter: Pushpalanka Jayawardhana >>> Priority: Trivial >>> Labels: developing_environment >>> Attachments: Wookie-Intellij_codestyle.xml >>> >>> >>> It would be convenient to have an IntelliJ IDEA code style and template >>> documents available, as currently available for Eclipse. So that any >>> developer familiar with Intellij, can directly start, without worrying >>> about conforming to the project's style. >>> >> -- >> This message is automatically generated by JIRA. >> If you think it was sent incorrectly, please contact your JIRA >> administrators: https://issues.apache.org/**jira/secure/** >> ContactAdministrators!default.**jspa<https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa> >> For more information on JIRA, see: http://www.atlassian.com/** >> software/jira <http://www.atlassian.com/software/jira> >> >> >> >> > -- Pushpalanka Jayawardhana | Undergraduate | Computer Science and Engineering University of Moratuwa +94779716248 | http://pushpalankajaya.blogspot.com Twitter: http://twitter.com/Pushpalanka | Slideshare: http://www.slideshare.net/Pushpalanka
