Commit 4b6d2de6 authored by bimlas's avatar bimlas

Initial commit; add JetBrains code style

parents
= TiddlyWiki5 code styles / auto format settings for IDEs
Implementation
https://tiddlywiki.com/dev/#TiddlyWiki%20Coding%20Style%20Guidelines[TiddlyWiki
Coding Style Guidelines] for different IDEs.
= TiddlyWiki5 code style for IntelliJ products
=== Installation
* Go to _File -> Settings -> Editor -> Code Style_
* Press the gear icon on the top of the window, near the dropdown menu ->
_Import Scheme -> Code Style XML_ and select the file
* Don't forget to switch to this scheme while editing TiddlyWiki source files
* Press _Code -> Reformat Code_ to apply the code style
<code_scheme name="TiddlyWiki" version="173">
<option name="LINE_SEPARATOR" value="&#10;" />
<option name="RIGHT_MARGIN" value="78" />
<JSCodeStyleSettings>
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
<option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
<option name="SPACE_BEFORE_ASYNC_ARROW_LPAREN" value="false" />
</JSCodeStyleSettings>
<codeStyleSettings language="JavaScript">
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
<option name="SPACE_AFTER_COMMA" value="false" />
<option name="SPACE_BEFORE_IF_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_WHILE_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_FOR_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_CATCH_PARENTHESES" value="false" />
<option name="SPACE_BEFORE_SWITCH_PARENTHESES" value="false" />
<indentOptions>
<option name="USE_TAB_CHARACTER" value="true" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment