Skip to content

CodeAssist 3.27.0

Choose a tag to compare

@tyron12233 tyron12233 released this 11 Oct 08:29
· 916 commits to main since this release

🚀 CodeAssist 3.27.0

FASTER STARTUP

  • New setting: Settings > Appearance > Startup > "Reopen last project on launch". Turn it off and CodeAssist opens on the project list, so you can go straight to Settings or the Projects Store without closing a project first.
  • Launch does less work: the ad network SDKs now start a few seconds after the IDE is ready instead of while your project opens, and the Kotlin compiler warm-up waits until the editor has finished its first pass over your file.
  • First open is much faster after installing or updating: the index for the built-in Android and Kotlin libraries now ships with the app instead of being built on your phone.
  • Reopening a project no longer redoes indexing work that is already done, so completion and diagnostics are ready sooner and stay warm.

ANDROID

  • Each module compiles against its own compileSdk. The SDK Manager can now download Android platforms (about 26 MB each on the phone), and completion, diagnostics and the build all use the platform your module asks for.
  • minSdk checks: calls, constructors and fields newer than your module's minSdk get a warning, with quick fixes to add @RequiresApi(N) / @TargetApi(N) or wrap the code in an SDK_INT check. Existing SDK_INT checks and @RequiresApi are respected.
  • Completion and quick documentation say "Added in API N" for Android APIs.
  • Real parameter names and javadoc for the Android framework, without downloading platform sources: signature help, inlay hints, completion, override stubs and quick doc now show context, savedInstanceState and friends instead of p0, p1.
  • Baseline Profiles: release builds now compile your app's baseline-prof.txt (and the ones shipped in libraries) into the APK or AAB, so your own apps start faster too.

JAVA AND KOTLIN

  • Java language level is enforced: var, records, text blocks, switch expressions, sealed classes and patterns are flagged when the module's Java level is too old for them.
  • JDK API checks for plain JVM modules: calling a JDK API newer than the module's Java release (like List.of at Java 8) is flagged, and quick doc shows "Since Java N". On desktop the build now compiles against that Java release too, so it agrees with the editor.
  • Quick documentation for Kotlin libraries shows their KDoc formatted, with code blocks and links.

EDITOR AND UI

  • Keyboard shortcuts across the whole app (IntelliJ-style: switch tabs, recent files, go to, tool windows, run), with hints shown when a hardware keyboard is connected. They also appear in Android's keyboard shortcut list (Meta + /).
  • Mouse: the scroll wheel scrolls the editor, and right-click no longer also counts as a normal click.
  • Settings is one screen now, grouped by topic (Appearance & Editor, Code Intelligence, Build & Run, Extensions, System) instead of a "Settings" row inside Settings. On tablets and desktop it has a searchable sidebar.
  • Editing is lighter while the Compose preview is open.

FIXES

  • Fixed the most common crash on Android 12 and 12L (a native crash while the editor parsed a file).
  • Fixed accepting the Android SDK license on some devices.
  • Removed the in-app update prompt added in 3.26.2.

NDK PLUGIN 1.2.0 (download CodeAssist-NDK-Plugin-3.27.0.apk below): unchanged from 3.26.2.

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