Repository navigation
CodeAssist 3.40.0
🚀 CodeAssist 3.40.0
Dart and Flutter on your phone, a new place to get plugins, and language servers for every language.
DART & FLUTTER (new plugin)
- Dart, built in: errors, completion, quick fixes, go to definition, rename and formatting from Dart's own analysis server, with a Dart SDK that runs on the phone. Run command-line programs in the Run console, run
package:testtests from the gutter into the Tests tab, andpub getyour packages. - Flutter apps on the device: the Flutter App template, then Run: your app opens in a built-in player, and every save hot-reloads it in about a tenth of a second, keeping its state. Type
rto reload,Rto restart andqto quit, as withflutter run. - Live
@Previewwidgets in the editor: open a Flutter file and switch to Preview or Split: the file's previews show right in the editor's preview pane (Android 11 and later), you can tap and scroll them, and they update as you save. - Kept light on memory: the compiler stops when you are not editing, the preview steps aside while your app runs, and the analysis server holds about a third less.
- Get it from Get plugins on the home screen. It needs an arm64 phone. Debug builds only for now: release (AOT) Flutter builds are not possible on the device.
PLUGINS
- Get plugins: a new card on the home screen lists the plugins you can download (NDK for C/C++, Dart & Flutter), what each adds, its size, and whether you have it or an update is waiting. Download opens in your browser.
- A page for every plugin: what it adds (with the sensitive parts marked), who signed it, when it was installed, its size and version, plus About and licenses, App info and Logs.
- A clearer "Allow this plugin?" dialog, and closing it without answering no longer turns the plugin off.
- Language servers as plugins: a plugin can now bring any language through a Language Server Protocol server (completion, errors, navigation, formatting, rename). On the desktop you can add one yourself in Settings > Language Servers (gopls, rust-analyzer, Pyright, clangd and more).
- For plugin authors: SPI 3.3.0 is on Maven Central, with the new
lsp-apiand test providers.
KOTLIN
- Far fewer false errors on everyday code: lambdas with receivers, generic extensions, delegation, contracts, Java getters like
getURL(), companion objects used as values, and Android/Compose patterns such assetState { copy() }andButton(ctx).
EDITOR & RUN
- Escape and Back close the completion list even with the keyboard up.
- The Code / Preview / Split buttons sit at the edge of the screen again, without the empty gap (and so does Zen mode's exit button).
- A run you stop now says Stopped, not Failed.
- The Run menu no longer offers a task left over from a project that used to be in the same folder.
Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.40.0