Repository navigation
CodeAssist 3.15.0
CodeAssist 3.15.0
Daily coding challenges
A new tab on the home screen. One problem per day, solved in the app's own editor in Java or Kotlin, with a
public leaderboard.
Run compiles and runs on your device against the examples you can see, so trying something costs a second
and does not use up an attempt. Submit sends your solution to a server that holds the hidden tests and is
the only thing that decides a verdict, which is what makes the board worth being on.
You are graded on how your solution scales, not only on whether it is right. Your solution is timed at
several input sizes and its curve is drawn against the reference solution's on the same axes: matching the
reference means running parallel to it. Each problem knows how close two curves have to be before it cannot
honestly tell them apart, and inside that margin you keep the reference grade, so you are never marked down
for a difference the measurement cannot actually see.
Plugins can now change the editor itself
Until now a plugin could add a panel, a screen or a preview pane, and could do nothing at all to the code you
were looking at. Four new ways in:
- Mark up the code. A plugin can tint a range, put a glyph in the gutter, or show a hint inline, on files
in any language. A test-coverage plugin can shade what your tests never reach; a version-control plugin can
put a change bar beside the lines you edited. Colours come from your theme, so marks stay readable in light
and dark. - Put real controls in the editor. A plugin can place a button or a card at a position in your file, and
it scrolls with the line it belongs to. - Draw in the editor. For the cases where a plugin's colours are genuinely its own, like a blame heatmap.
- Own a whole surface for a file type. A plugin can add a tab beside Code, Blocks and Preview, and it can
claim a file type so that opening one of those files goes straight to its view. Code is always still one tap
away, and whatever the plugin edits is the same file you see in the editor, undo included.
Keyboard shortcuts are yours to change
Settings has a Keymap page: tap a shortcut, press the keys you want, done. Backspace clears one, and a Reset
appears when you have changed one. If two commands end up on the same keys, the page tells you which. Plugins
can bring their own shortcuts too, and yours always win over theirs.
Twenty-six of the editor's commands moved onto that keymap, and a few that used to share a key now have their
own: Go to declaration, implementation and type declaration are separate, as are next and previous problem,
and line and block comment. Typing, the arrow keys, and the keys a popup owns while it is open are untouched.
A clearer problem chip
When a line has more than one problem, its chip now speaks for all of them: it shows the loudest, counts the
rest, and opens the full list when tapped. A warning hiding behind an error is reachable again, and so are
hints and information notices, which never got a chip of their own before.
Fixes
- A quick fix that changed more than one file only changed one of them, silently. Fixes that edit several
files now apply everywhere they should, and this affected the AI agent too, which applied whatever it was
handed. - Compose preview: better messages when something is null or read outside a composable, and several
cross-file resolution gaps closed so more previews render on the first try. - Kotlin: the classpath is now consulted while the index is still settling, so imports stop looking broken
right after a project opens. - An interpreted type now reports its own runtime class, which fixes a class of preview failures.
- Android builds package per-ABI native libraries declared on a classpath.
For plugin authors
The SPI is at 2.7.0. Beyond the four editor surfaces and the keymap above:
- Three finished SPI modules are now published, so they stop being built-in-only:
vcs-api
(version-control providers, which the bundled Git support already uses),agent-api(agent tools and LLM
providers) andblock-api(block-editor mappings). MODULE_RESOURCES, so a plugin can generate a file into one of the user's modules and have the build,
the indexes and the editor actually notice it, plus read and write Android resources through the same
merged view the IDE's own@string/…resolution uses.- A plugin has a directory of its own (
PluginRegistration.dataDir) for a cache or a downloaded index,
backed up and cleaned up with the app. - A facet can be configured without the class that declares it, which is what a project template
scaffolding another plugin's module type needs.
Everything is documented in docs/writing-plugins.md.
Under the hood
The project is reorganised into one directory per layer, and the UI into one module per layer, which makes
the build faster and the boundaries real. No behaviour depends on it.