FIR IDE: move trailing comma related registry keys to ide-frontend-independent.xml

This commit is contained in:
Ilya Kirillov
2020-07-07 00:02:58 +03:00
parent 055b975699
commit 1f3add49f4
2 changed files with 12 additions and 8 deletions
@@ -6,4 +6,16 @@
<extensionPoint qualifiedName="org.jetbrains.kotlin.buildSystemTypeDetector"
interface="org.jetbrains.kotlin.idea.configuration.BuildSystemTypeDetector"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<registryKey key="kotlin.formatter.allowTrailingCommaInAnyProject"
description="Allow a trailing comma regardless of plugin version"
defaultValue="false"
restartRequired="false"/>
<registryKey key="kotlin.formatter.allowTrailingCommaOnCallSite"
description="Allow a trailing comma on call-site"
defaultValue="false"
restartRequired="false"/>
</extensions>
</idea-plugin>
@@ -116,14 +116,6 @@
description="Add all transitive dependencies on MPP modules when Android project is imported"
defaultValue="true"
restartRequired="false"/>
<registryKey key="kotlin.formatter.allowTrailingCommaInAnyProject"
description="Allow a trailing comma regardless of plugin version"
defaultValue="false"
restartRequired="false"/>
<registryKey key="kotlin.formatter.allowTrailingCommaOnCallSite"
description="Allow a trailing comma on call-site"
defaultValue="false"
restartRequired="false"/>
<registryKey key="kotlin.experimental.new.j2k"
description="Enable new Java to Kotlin converter"