aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-08 14:26:05 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-08 14:26:05 +0100
commitc7412fb2c38d4e23bc551edbbe25300bb3ac3968 (patch)
treec689c21a5c431fe0698489164b9228959beef1f5 /ide
parent7d89bc7a7fca132cea59d0dff75a90b94e2d47f4 (diff)
downloadwallet-core-c7412fb2c38d4e23bc551edbbe25300bb3ac3968.tar.xz
ide code style file
Diffstat (limited to 'ide')
-rw-r--r--ide/README1
-rw-r--r--ide/codeStyle.xml44
2 files changed, 45 insertions, 0 deletions
diff --git a/ide/README b/ide/README
new file mode 100644
index 000000000..da819ea1e
--- /dev/null
+++ 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
new file mode 100644
index 000000000..efb57f4e2
--- /dev/null
+++ 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>