Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust .editorconfig for kotlinlang style for IntelliJ to better alig…
…n with ktfmt (#412) Summary: Two changes: 1. Field annotations are set to wrap `off`, to align with ktfmt that places them on the same line as the field. e.g. ```kotlin get:Input internal abstract val versionPropertyName: Property<String> ``` ...will now match what ktfmt does: ```kotlin get:Input internal abstract val versionPropertyName: Property<String> ``` 2. Import order; IntelliJ places java.*, javax.*, kotlin.* at the end, after other imports, whereas ktfmt places all imports in alphabetical order: e.g. ```kotlin import org.gradle.api.file.FileSystemOperations import org.gradle.api.file.RegularFileProperty import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.ListProperty import org.gradle.api.provider.Property import java.util.* import javax.inject.Inject ``` ... will now be consistent with ktfmt, all sorted alphabetically. ```kotlin import java.util.* import javax.inject.Inject import org.gradle.api.file.FileSystemOperations import org.gradle.api.file.RegularFileProperty import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.ListProperty import org.gradle.api.provider.Property ``` Pull Request resolved: #412 Reviewed By: strulovich Differential Revision: D49319451 Pulled By: hick209 fbshipit-source-id: f2b6a163cd18ae3ec2f82227b6dd2f18eea11098
- Loading branch information