Skip to content

CodeAssist 3.31.0

Choose a tag to compare

@tyron12233 tyron12233 released this 18 Oct 19:57
· 831 commits to main since this release

🚀 CodeAssist 3.31.0

KOTLIN MULTIPLATFORM

  • Real Compose Multiplatform projects build. Projects from the JetBrains KMP wizard, KMP-App-Template, the terrakok wizard and JetBrains' samples now import and build for Android and desktop. JetBrains Amper projects (project.yaml + module.yaml) import too.
  • Compose resources work like the Gradle plugin. Fonts, strings and images get the same Res.* names (IndieFlower-Regular.ttf is Res.font.IndieFlower_Regular), escapes like \n and \uXXXX in strings are read correctly, and Font(resource) works on Android.
  • Multiplatform in CodeAssist's own project format. A module keeps all its targets, so you can switch between Android and desktop in Module Settings, Convert to native keeps both, the KMP templates can create a native project, and New Module offers Kotlin Multiplatform. Module Settings can also add Compose resources, a Kotlin BuildConfig or multiplatform to an existing module.
  • Kotlin opt-ins (optIn, -opt-in) from the build files are passed to the compiler.
  • When an imported project uses a code generator CodeAssist doesn't run (Apollo, SQLDelight, Metro, ...), the import tells you.

ANDROID

  • BuildConfig fields. buildConfigField on default config, build types and flavors is generated per variant for apps and libraries, and the editor sees the same fields. The gmazzo BuildConfig plugin becomes a Kotlin BuildConfig object.
  • A library pulled in through another library module now brings its manifest, resources and assets into the app.
  • Android and desktop modules that declare the same library no longer put desktop jars into the APK.

FILES

  • Rename selects just the name. Renaming Example.java starts with Example selected, so typing replaces it.
  • Module icons in the project tree show what kind of module each folder is (Android app, Android library, multiplatform, plain).

FIXES

  • Room and other KSP processors work on phones set to Arabic. The generated code used Arabic digits (١ instead of 1) and failed to compile.
  • Run and Install only install APKs that CodeAssist's own build produced and signed.
  • If you share analytics, CodeAssist now reports when Android closed it for not responding, so those freezes can be fixed.

NDK PLUGIN 1.2.0 (download CodeAssist-NDK-Plugin-3.31.0.apk below): unchanged from 3.30.0.

Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.31.0