Skip to content

CodeAssist 3.25.0

Choose a tag to compare

@tyron12233 tyron12233 released this 08 Oct 18:34
· 977 commits to main since this release

🚀 CodeAssist 3.25.0

EDITOR

  • Smoother typing in large Kotlin files. Each keystroke now reuses the parts of the file you did not touch instead of rebuilding them, so the editor creates much less garbage while you type. On a slow test phone, typing inside a function in a 4,000-line file triggered about a third as many garbage collection pauses as before.
  • Less battery while the editor is idle. The quick-fix lightbulb, signature help, the selection toolbar and the literal controls no longer keep the screen redrawing 60 times a second while they are shown, and the blinking caret no longer redraws the whole editor twice a second.
  • Fixed: an open file that the AI agent (or another tool) changed showed no errors or warnings until you typed in it. Open tabs now update and are checked again.
  • Fixed: a file with an unbalanced { inside a function could show the wrong syntax errors.
  • Fixed: "Manage dependencies" in the More menu did nothing.

KOTLIN AND ANDROID

  • Fixed: a false "inferred type is ... but Adapter was expected" error for library classes whose parent is a nested generic class, such as a FragmentStateAdapter given to ViewPager2. The error also stopped every @Preview in the file from rendering.
  • Fixed: Room failed with NoSuchMethodError on some devices because an old copy of a library built into the phone was loaded instead of Room's own.

AI AGENT

  • The agent can take a screenshot of a file's Compose preview even when that file is not open.
  • A reply now shows its steps in the order they happened. The chat follows the end of the reply while you are at the bottom, stops when you scroll up, and message text can be selected.
  • If your API key does not have enough credit for a full-length reply (OpenRouter), the agent retries with a shorter reply limit instead of failing.

NDK PLUGIN 1.2.0 (download CodeAssist-NDK-Plugin-3.25.0.apk below)

  • C++ that uses the standard library now works. It used to build and then fail to load with "cannot locate symbol". The C++ runtime is now linked in by default, and a missing symbol is reported as a build error.
  • JNI support. A warning on a native/external method that has no C/C++ implementation, with a quick fix that writes the function for you (creating the C++ file if needed). A warning on a Java_ function that no method matches. Gutter marks jump between the two ends, and Go to Declaration works across them.
  • New > C++ Class, C/C++ Source File and C/C++ Header File, and Add C++ to Module on a module.
  • Native C++ App template: an Android app in Java or Kotlin that calls C++.
  • Faster native builds: only changed files (or files whose headers changed) are compiled again, and the built library goes under build/ instead of into your src/main/jniLibs.
  • The plugin works on CodeAssist 3.21 and newer. Some features need this release.

FOR PLUGIN AUTHORS

  • Plugin API (SPI) 3.1.0: quick fixes can create files, plugins can add Go to Declaration targets and New-menu templates, build plugins can package native libraries from their build output, and completion knows which module a file is in.

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