Update code formatting rules
This commit is contained in:
parent
b5d817a8ac
commit
426b130e3b
|
@ -31,6 +31,8 @@
|
||||||
<option name="WRAP_EXPRESSION_BODY_FUNCTIONS" value="1" />
|
<option name="WRAP_EXPRESSION_BODY_FUNCTIONS" value="1" />
|
||||||
</JetCodeStyleSettings>
|
</JetCodeStyleSettings>
|
||||||
<XML>
|
<XML>
|
||||||
|
<option name="XML_ATTRIBUTE_WRAP" value="4" />
|
||||||
|
<option name="XML_KEEP_BLANK_LINES" value="1" />
|
||||||
<option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
<option name="XML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
||||||
</XML>
|
</XML>
|
||||||
<codeStyleSettings language="JAVA">
|
<codeStyleSettings language="JAVA">
|
||||||
|
@ -39,7 +41,6 @@
|
||||||
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
||||||
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
|
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
|
||||||
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
|
<option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" />
|
||||||
<option name="ELSE_ON_NEW_LINE" value="true" />
|
|
||||||
<option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
|
<option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
|
||||||
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
|
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
|
||||||
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
|
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Kotlin2JsCompilerArguments">
|
||||||
|
<option name="sourceMapEmbedSources" />
|
||||||
|
<option name="sourceMapPrefix" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -13,7 +13,6 @@ import sexpression.Symbol
|
||||||
@FunctionNames("LAMBDA", "Λ")
|
@FunctionNames("LAMBDA", "Λ")
|
||||||
class LAMBDA(name: String) : LispSpecialFunction() {
|
class LAMBDA(name: String) : LispSpecialFunction() {
|
||||||
|
|
||||||
|
|
||||||
private val argumentValidator: ArgumentValidator = ArgumentValidator(name)
|
private val argumentValidator: ArgumentValidator = ArgumentValidator(name)
|
||||||
private val lambdaListValidator: ArgumentValidator = ArgumentValidator("$name|lambda-list|")
|
private val lambdaListValidator: ArgumentValidator = ArgumentValidator("$name|lambda-list|")
|
||||||
|
|
||||||
|
|
|
@ -209,8 +209,7 @@ public class LispTerminal {
|
||||||
TerminalPosition cursorPosition = terminal.getCursorPosition();
|
TerminalPosition cursorPosition = terminal.getCursorPosition();
|
||||||
terminal.putCharacter(character);
|
terminal.putCharacter(character);
|
||||||
moveCursorToNextRow(cursorPosition);
|
moveCursorToNextRow(cursorPosition);
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
terminal.putCharacter(character);
|
terminal.putCharacter(character);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue