Skip to content

CodeAssist 3.26.1

Choose a tag to compare

@tyron12233 tyron12233 released this 09 Oct 18:29
· 942 commits to main since this release

🚀 CodeAssist 3.26.1

A small fix release on top of 3.26.0. If you are coming from 3.25 or earlier, everything new in 3.26.0 is listed below too.

FIXES IN 3.26.1

  • Plugins: when a plugin asks for permission to run and lists a lot, the dialog now scrolls, so the Allow and Don't allow buttons are always on screen.
  • Ads: some ads showed up without their picture or video. They now show in full.

Also in this release: everything from 3.26.0

BLOCKS VIEW

  • Blocks now work for Kotlin, not just Java, and the view is rebuilt as a Scratch-style canvas with pan and zoom.
  • It opens on an outline of the file: its functions (grouped by class or object) and its variables. Tap a function to edit it as blocks on its own page. Add functions, variables and events (overrides of inherited methods) from the outline.
  • Dragging a block carries the blocks below it, like Scratch. A silhouette shows where it will land, and you can drop it between blocks, around a list or into a socket.
  • A block dropped on empty canvas is kept as a scratch stack beside the file. It is saved, but never compiled.
  • The palette has categories (Control, Logic, Math, Text, Variables, Calls, and Compose for a Compose file) plus search.
  • Compose-friendly: call blocks show the parameters the function takes, optional parameters and other overloads come from a property sheet, Compose values like Alignment.CenterHorizontally or 16.dp read in short form, a Modifier chain is a card with its own editor, and a composable's page can show its preview next to the blocks. Lambdas like Column { } or LazyColumn { } offer what their scope adds (item, items, ...).

BUILD

  • Incremental Java compilation. Changing a Java file now recompiles only what is affected instead of the whole module.
  • Fixed: a deleted or renamed Java class stayed in the build and ended up in the APK.
  • Faster warm builds: files that did not change are no longer re-read before every task.
  • Run on a phone: if CodeAssist is not yet allowed to install apps, the install now carries on once you allow it in Settings and come back, instead of asking you to build again.

EDITOR

  • Mouse support: right-click opens a context menu (context actions, Go to, rename, documentation, cut/copy/paste, reformat and more), resting the pointer on code shows its problem or documentation, and Ctrl/⌘-click goes to the declaration. The pointer is a text cursor over code and an arrow over the gutter.
  • Parameter info now marks parameters that have a default value (count: Int = …).
  • Parameter info stays compact on tablets and desktop, and the selected completion stays in view.
  • Go to declaration, expand selection and reformat no longer wait for the file's analysis to finish.
  • Fixed: a second unsaved edit to a Java file was not seen by the files that use it.

TABLETS AND DESKTOP

  • IntelliJ-style layout on wide screens: slim tool window stripes, resizable panes, and a full-width top bar (on desktop it is the window's title bar).
  • IntelliJ-style home: a sidebar for the home tabs, and a dense, searchable project list with Import, Clone and New project buttons.
  • The editor's More sheet is split up: its items moved to the left stripe, the command palette and Settings. Closing a project is a back arrow in the top bar and asks first.
  • Logs is a bottom tool window next to the build console.

COMPOSE PREVIEW

  • Fixed (desktop): any screen using Scaffold failed to render with "invoke getParent on null".
  • Fixed (desktop): Material 3 text styles failed to build, so previews using its typography failed.
  • Fixed: a preview could crash the IDE with "Missed recording an endGroup" while you typed an invalid argument.

GIT

  • Git messages are translated (Arabic, Chinese).
  • Sync, publish, pull requests and stashes were repaired: sync uses the branch's real remote, a failed publish no longer leaves an empty GitHub repository, and an expired token asks you to sign in again.
  • Safer credentials: a token is only sent over HTTPS to its own host, and a damaged accounts file no longer wipes your accounts.
  • Clone, fetch, pull and push give up after 60 seconds instead of hanging.

PROJECTS STORE

  • A project in the store now needs at least one screenshot. The submit form asks for one before a new listing can be sent, and an update keeps the listing's screenshots unless you send new ones.
  • Fixed: if none of your screenshots could be uploaded, the project was sent without them and nothing said why. You now get a message and can try again.

OTHER

  • A Discord community card on the home screen.
  • Settings > Privacy & Data has a separate "Full-screen ads" switch, so you can turn off full-screen ads and keep the small ones. Empty ad slots no longer show a stand-in.
  • Fixed: a crash when a tab closed while the IDE was reloading it after a rename.
  • Clearer errors when a project file cannot be read or written, and saving works on storage that cannot rename files.

NDK PLUGIN 1.2.0 (download CodeAssist-NDK-Plugin-3.26.1.apk below): unchanged from 3.26.0.

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