Chris Fillmore
06/22/2022, 9:26 PMjavax
imports are going in non-alphabetical order when I optimize imports in Android Studio. For example:
import androidx.appcompat.app.AppCompatActivity
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import dagger.Lazy
import dagger.hilt.android.AndroidEntryPoint
import org.webrtc.EglBase
import tv.mydomain.example
import javax.inject.Inject
Is that expected?Chris Fillmore
06/22/2022, 9:26 PMAndroid Studio Chipmunk | 2021.2.1
Build #AI-212.5712.43.2112.8512546, built on April 28, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.6.21-release-334-AS5457.46)
ephemient
06/22/2022, 9:28 PMjava.**
, javax.**
, kotlin.**
, and import aliases (import ... as ...
) at the end. which I find quite unfortunate as it conflicts with https://developer.android.com/kotlin/style-guide#import_statements but that's how it is 🤷mkrussel
06/22/2022, 9:29 PMChris Fillmore
06/22/2022, 9:29 PM