If files are not in line with the code style then they should be reformatted without any other changes (so function changes aren't hidden in format changes).
Before I check a file in with changes I'm planning to first reformat it and check it in. Should we have a tracking issue for these types of checkins? or is that as pointless as it sounds? Josh On Fri, Jul 1, 2011 at 12:46 PM, <drobia...@apache.org> wrote: > Author: drobiazko > Date: Fri Jul 1 19:46:38 2011 > New Revision: 1142044 > > URL: http://svn.apache.org/viewvc?rev=1142044&view=rev > Log: > Tapestry IDEA codestyle settings > > Added: > tapestry/tapestry5/trunk/support/tapestry_idea_codestyle.xml > > Added: tapestry/tapestry5/trunk/support/tapestry_idea_codestyle.xml > URL: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/support/tapestry_idea_codestyle.xml?rev=1142044&view=auto > ============================================================================== > --- tapestry/tapestry5/trunk/support/tapestry_idea_codestyle.xml (added) > +++ tapestry/tapestry5/trunk/support/tapestry_idea_codestyle.xml Fri Jul 1 > 19:46:38 2011 > @@ -0,0 +1,116 @@ > +<?xml version="1.0" encoding="UTF-8"?> > +<code_scheme name="tapestry-idea-codestyle"> > + <option name="JD_PARAM_DESCRIPTION_ON_NEW_LINE" value="true" /> > + <option name="BRACE_STYLE" value="2" /> > + <option name="CLASS_BRACE_STYLE" value="2" /> > + <option name="METHOD_BRACE_STYLE" value="2" /> > + <ADDITIONAL_INDENT_OPTIONS fileType="css"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="groovy"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="gsp"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="haml"> > + <option name="INDENT_SIZE" value="2" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="java"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="js"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="jsp"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="php"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="sql"> > + <option name="INDENT_SIZE" value="2" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <ADDITIONAL_INDENT_OPTIONS fileType="xml"> > + <option name="INDENT_SIZE" value="4" /> > + <option name="CONTINUATION_INDENT_SIZE" value="8" /> > + <option name="TAB_SIZE" value="4" /> > + <option name="USE_TAB_CHARACTER" value="false" /> > + <option name="SMART_TABS" value="false" /> > + <option name="LABEL_INDENT_SIZE" value="0" /> > + <option name="LABEL_INDENT_ABSOLUTE" value="false" /> > + <option name="USE_RELATIVE_INDENTS" value="false" /> > + </ADDITIONAL_INDENT_OPTIONS> > + <codeStyleSettings language="JavaScript"> > + <option name="CLASS_BRACE_STYLE" value="2" /> > + <option name="METHOD_BRACE_STYLE" value="2" /> > + <option name="PARENT_SETTINGS_INSTALLED" value="true" /> > + </codeStyleSettings> > + <codeStyleSettings language="PHP"> > + <option name="PARENT_SETTINGS_INSTALLED" value="true" /> > + </codeStyleSettings> > +</code_scheme> > + > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org