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" />
|
||||
</JetCodeStyleSettings>
|
||||
<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" />
|
||||
</XML>
|
||||
<codeStyleSettings language="JAVA">
|
||||
|
@ -39,7 +41,6 @@
|
|||
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
||||
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
|
||||
<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_PARAMETERS_IN_CALLS" 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>
|
|
@ -6,21 +6,21 @@ enum class Severity {
|
|||
|
||||
WARNING {
|
||||
override fun decorate(output: String, environment: RuntimeEnvironment): String =
|
||||
environment.decorateWarningOutput(output)
|
||||
environment.decorateWarningOutput(output)
|
||||
|
||||
override fun toDisplayString() = "warning"
|
||||
},
|
||||
|
||||
ERROR {
|
||||
override fun decorate(output: String, environment: RuntimeEnvironment): String =
|
||||
environment.decorateErrorOutput(output)
|
||||
environment.decorateErrorOutput(output)
|
||||
|
||||
override fun toDisplayString() = "error"
|
||||
},
|
||||
|
||||
CRITICAL {
|
||||
override fun decorate(output: String, environment: RuntimeEnvironment): String =
|
||||
environment.decorateCriticalOutput(output)
|
||||
environment.decorateCriticalOutput(output)
|
||||
|
||||
override fun toDisplayString() = "critical"
|
||||
};
|
||||
|
|
|
@ -13,7 +13,6 @@ import sexpression.Symbol
|
|||
@FunctionNames("LAMBDA", "Λ")
|
||||
class LAMBDA(name: String) : LispSpecialFunction() {
|
||||
|
||||
|
||||
private val argumentValidator: ArgumentValidator = ArgumentValidator(name)
|
||||
private val lambdaListValidator: ArgumentValidator = ArgumentValidator("$name|lambda-list|")
|
||||
|
||||
|
|
|
@ -209,8 +209,7 @@ public class LispTerminal {
|
|||
TerminalPosition cursorPosition = terminal.getCursorPosition();
|
||||
terminal.putCharacter(character);
|
||||
moveCursorToNextRow(cursorPosition);
|
||||
}
|
||||
else
|
||||
} else
|
||||
terminal.putCharacter(character);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue