commit c7412fb2c38d4e23bc551edbbe25300bb3ac3968 parent 7d89bc7a7fca132cea59d0dff75a90b94e2d47f4 Author: Florian Dold <florian.dold@gmail.com> Date: Fri, 8 Jan 2016 14:26:05 +0100 ide code style file Diffstat:
| A | ide/README | | | 1 | + |
| A | ide/codeStyle.xml | | | 44 | ++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/ide/README b/ide/README @@ -0,0 +1 @@ +Settings and project files for IDEs and other tools should be stored here. diff --git a/ide/codeStyle.xml b/ide/codeStyle.xml @@ -0,0 +1,44 @@ +<code_scheme name="GNU Taler"> + <option name="RIGHT_MARGIN" value="80" /> + <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" /> + <TypeScriptCodeStyleSettings> + <option name="SPACE_AFTER_TYPE_COLON" value="true" /> + <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" /> + </TypeScriptCodeStyleSettings> + <XML> + <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> + </XML> + <codeStyleSettings language="HTML"> + <indentOptions> + <option name="INDENT_SIZE" value="2" /> + <option name="CONTINUATION_INDENT_SIZE" value="4" /> + <option name="TAB_SIZE" value="2" /> + </indentOptions> + </codeStyleSettings> + <codeStyleSettings language="JavaScript"> + <indentOptions> + <option name="INDENT_SIZE" value="2" /> + <option name="CONTINUATION_INDENT_SIZE" value="2" /> + <option name="TAB_SIZE" value="2" /> + </indentOptions> + </codeStyleSettings> + <codeStyleSettings language="TypeScript"> + <option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" /> + <option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" /> + <option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true" /> + <option name="CALL_PARAMETERS_WRAP" value="5" /> + <option name="PREFER_PARAMETERS_WRAP" value="true" /> + <option name="METHOD_PARAMETERS_WRAP" value="5" /> + <option name="METHOD_CALL_CHAIN_WRAP" value="5" /> + <option name="FOR_STATEMENT_WRAP" value="5" /> + <option name="ARRAY_INITIALIZER_WRAP" value="5" /> + <option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" /> + <option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" /> + <option name="IF_BRACE_FORCE" value="3" /> + <indentOptions> + <option name="INDENT_SIZE" value="2" /> + <option name="CONTINUATION_INDENT_SIZE" value="2" /> + <option name="TAB_SIZE" value="2" /> + </indentOptions> + </codeStyleSettings> +</code_scheme>