Minor. Reformat KotlinFacetEditorGeneralTab
This commit is contained in:
@@ -147,12 +147,14 @@ class KotlinFacetEditorGeneralTab(
|
|||||||
compilerConfigurable.setTargetPlatform(getChosenPlatform()?.idePlatformKind)
|
compilerConfigurable.setTargetPlatform(getChosenPlatform()?.idePlatformKind)
|
||||||
compilerConfigurable.setEnabled(!useProjectSettings)
|
compilerConfigurable.setEnabled(!useProjectSettings)
|
||||||
if (useProjectSettings) {
|
if (useProjectSettings) {
|
||||||
compilerConfigurable.commonCompilerArguments = KotlinCommonCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as CommonCompilerArguments?
|
compilerConfigurable.commonCompilerArguments =
|
||||||
compilerConfigurable.k2jvmCompilerArguments = Kotlin2JvmCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as K2JVMCompilerArguments?
|
KotlinCommonCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as CommonCompilerArguments?
|
||||||
compilerConfigurable.k2jsCompilerArguments = Kotlin2JsCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as K2JSCompilerArguments?
|
compilerConfigurable.k2jvmCompilerArguments =
|
||||||
|
Kotlin2JvmCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as K2JVMCompilerArguments?
|
||||||
|
compilerConfigurable.k2jsCompilerArguments =
|
||||||
|
Kotlin2JsCompilerArgumentsHolder.getInstance(project).settings.unfrozen() as K2JSCompilerArguments?
|
||||||
compilerConfigurable.compilerSettings = KotlinCompilerSettings.getInstance(project).settings.unfrozen() as CompilerSettings?
|
compilerConfigurable.compilerSettings = KotlinCompilerSettings.getInstance(project).settings.unfrozen() as CompilerSettings?
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
compilerConfigurable.commonCompilerArguments = editableCommonArguments
|
compilerConfigurable.commonCompilerArguments = editableCommonArguments
|
||||||
compilerConfigurable.k2jvmCompilerArguments = editableJvmArguments
|
compilerConfigurable.k2jvmCompilerArguments = editableJvmArguments
|
||||||
compilerConfigurable.k2jsCompilerArguments = editableJsArguments
|
compilerConfigurable.k2jsCompilerArguments = editableJsArguments
|
||||||
@@ -358,4 +360,5 @@ class KotlinFacetEditorGeneralTab(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("UNCHECKED_CAST")
|
@Suppress("UNCHECKED_CAST")
|
||||||
val <T> ComboBox<T>.selectedItemTyped: T? get() = selectedItem as T?
|
val <T> ComboBox<T>.selectedItemTyped: T?
|
||||||
|
get() = selectedItem as T?
|
||||||
|
|||||||
Reference in New Issue
Block a user