From 74069f586ab74e3d59e88b2a2ca1525655b27652 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 8 Jun 2021 01:08:10 +0000 Subject: [PATCH] Restyled by whitespace --- .../co/anbora/labs/firebase/ide/formatter/FirebaseFmtContext.kt | 2 +- .../co/anbora/labs/firebase/ide/formatter/impl/alignment.kt | 2 +- .../co/anbora/labs/firebase/ide/formatter/impl/spacing.kt | 2 +- .../kotlin/co/anbora/labs/firebase/ide/formatter/impl/utils.kt | 2 +- .../labs/firebase/ide/style/FirebaseCodeStyleConfigurable.kt | 2 +- .../labs/firebase/ide/style/FirebaseCodeStyleMainPanel.kt | 2 +- .../anbora/labs/firebase/ide/style/FirebaseCodeStyleSettings.kt | 2 +- .../firebase/ide/style/FirebaseCodeStyleSettingsProvider.kt | 2 +- .../ide/style/FirebaseLanguageCodeStyleSettingProvider.kt | 2 +- .../kotlin/co/anbora/labs/firebase/lang/FirebaseFileType.kt | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/FirebaseFmtContext.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/FirebaseFmtContext.kt index b6301d7..79e3de1 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/FirebaseFmtContext.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/FirebaseFmtContext.kt @@ -16,4 +16,4 @@ data class FirebaseFmtContext private constructor( } } -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/alignment.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/alignment.kt index 947b6af..298e08c 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/alignment.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/alignment.kt @@ -16,4 +16,4 @@ fun FirebaseFormatterBlock.getAlignmentStrategy(): FirebaseAlignmentStrategy = w } fun FirebaseAlignmentStrategy.alignUnlessBlockDelim(): FirebaseAlignmentStrategy = - alignIf { c, p, _ -> !c.isDelimiterOfCurrentBlock(p) } \ No newline at end of file + alignIf { c, p, _ -> !c.isDelimiterOfCurrentBlock(p) } diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/spacing.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/spacing.kt index 25e0e62..6c90e26 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/spacing.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/spacing.kt @@ -42,4 +42,4 @@ fun createSpacingBuilder(commonSettings: CodeStyleSettings): SpacingBuilder { .after(EQEQ).spacing(1, 1, 0, false, 0) .after(NE).spacing(1, 1, 0, false, 0) .before(DOT_COMMA).spacing(0,0,0,false,0) -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/utils.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/utils.kt index dbe97fd..c68e269 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/utils.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/formatter/impl/utils.kt @@ -31,4 +31,4 @@ fun ASTNode.isDelimiterOfCurrentBlock(parent: ASTNode?): Boolean { LP, RP -> parentType in PAREN_DELIMITED_BLOCKS else -> false } -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleConfigurable.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleConfigurable.kt index 4cdfe0d..d6b1695 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleConfigurable.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleConfigurable.kt @@ -15,4 +15,4 @@ class FirebaseCodeStyleConfigurable( ): CodeStyleAbstractPanel = FirebaseCodeStyleMainPanel(currentSettings, settings) override fun getHelpTopic(): String? = null -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleMainPanel.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleMainPanel.kt index db4289f..2693728 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleMainPanel.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleMainPanel.kt @@ -13,4 +13,4 @@ class FirebaseCodeStyleMainPanel( addIndentOptionsTab(settings) addSpacesTab(settings) } -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettings.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettings.kt index 4d16eb3..41bcacc 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettings.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettings.kt @@ -5,4 +5,4 @@ import com.intellij.psi.codeStyle.CustomCodeStyleSettings class FirebaseCodeStyleSettings( container: CodeStyleSettings? -): CustomCodeStyleSettings("FirebaseCodeStyleSettings", container) \ No newline at end of file +): CustomCodeStyleSettings("FirebaseCodeStyleSettings", container) diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettingsProvider.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettingsProvider.kt index 510533b..d11820b 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettingsProvider.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseCodeStyleSettingsProvider.kt @@ -18,4 +18,4 @@ object FirebaseCodeStyleSettingsProvider: CodeStyleSettingsProvider() { settings: CodeStyleSettings, originalSettings: CodeStyleSettings? ): Configurable = FirebaseCodeStyleConfigurable(settings, originalSettings) -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseLanguageCodeStyleSettingProvider.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseLanguageCodeStyleSettingProvider.kt index 3590b8c..ef2d3cf 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseLanguageCodeStyleSettingProvider.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/style/FirebaseLanguageCodeStyleSettingProvider.kt @@ -30,4 +30,4 @@ object FirebaseLanguageCodeStyleSettingProvider: LanguageCodeStyleSettingsProvid } override fun getIndentOptionsEditor(): IndentOptionsEditor = SmartIndentOptionsEditor() -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/FirebaseFileType.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/FirebaseFileType.kt index 0670ee0..ddcb8a0 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/FirebaseFileType.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/FirebaseFileType.kt @@ -17,4 +17,4 @@ object FirebaseFileType: LanguageFileType(FirebaseRulesLanguage) { override fun getIcon(): Icon = FirebaseIcons.FILE -} \ No newline at end of file +}