Repository navigation
CodeAssist 3.16.0
🚀 CodeAssist 3.16.0
PROJECTS STORE
- Publishing works again. Three separate bugs in the publish form each blocked a different field, and together they made it impossible to submit a project at all.
- Add a screenshot now actually opens the picker. The button was wired to a file picker that was never handed to the screen, so it sat greyed out.
- Tags accept a comma. The field rebuilt its own text on every keystroke, which swallowed the separator the instant you typed it, so you could never enter a second tag.
- Category has a selector. The category list was empty on the server, so the form showed a heading with nothing under it and then refused to submit because no category was chosen. The list is live now, and the form tells you if it cannot load rather than leaving the space blank.
COMPOSE PREVIEW
- Every JetNews preview renders on device. Sweeping all sixteen found eleven separate gaps, each now fixed and re-checked on real hardware: a preview importing a function no longer picks a same-named one from a different package, extension properties resolve inside implicit receivers,
@Serializableobjects expose their generatedserializer(),list + listconcatenates instead of nesting, and five-argument calls with defaults bind the right overload. - Lambdas passed to a
fun interfacesuch asMeasurePolicynow dispatch the interface's real method, which clears the "Asking for measurement result of unmeasured layout modifier" failure at placement. - A lambda is recognised as every interface it inherits, so handing a
LifecycleEventObserverto something expecting aLifecycleObserverworks, and the observer actually receives its events. - Screens using a modal drawer compose,
Int.floorDiv/modandorEmptyare supported, and enum entries compare correctly across a recomposition.
EDITOR
- A file written outside the editor is visible again. Opening a file and closing its tab used to leave a stale copy in memory for the rest of the session, so every later change to that path was invisible to the editor, the file tree and the build.
- That was also the daily challenge's "Did not compile": the challenge runner wrote its harness to the same path your solution was open at, and your snippet went straight back over it.
- No more duplicate rows in the quick-fix menu. "Implement members" was offered twice, once as a fix and once as an intention.
PERFORMANCE
- Analysis walks a file once per pass instead of three times. On a typical 34KB Java file that is 4.3ms and 6.9MB down to 0.7ms and 2.3MB; a Kotlin file's pass drops from 507us to 117us. Unused-import and
System.outdetection each got faster on their own terms too.
UI
- Panels remember where you scrolled them. The file tree, search results and every plugin tool window come back where you left them instead of jumping to the top each time the drawer closes.
- The tab strip and file tree follow the open file. Opening a file from a search hit, a go-to-declaration or the New File dialog scrolls its tab and its tree row into view, by the shortest move that gets there, so tapping something already on screen never shifts the list under your finger.
FOR PLUGIN AUTHORS
- The Kotlin document model now names every shape a Kotlin file can hold instead of collapsing most of them into one generic
kt.element. Anything keying on that id to recognise if/for/while/return/try, arguments, type projections, modifiers or accessors needs updating. - New guide on writing a Create-Project template, and the 1.x migration guide points at the current SPI coordinate.
Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.16.0