Repository navigation
CodeAssist 3.7.3
π CodeAssist 3.7.3
COMPOSE PREVIEW
viewModelScopenow works in previews β aViewModelthat launches fromviewModelScoperenders instead of failing.- Gradient brushes with color stops (
Brush.linearGradient(colorStops = arrayOf(0f to Color(...)))) render instead of crashing. - Flow previews resolve correctly, including
SharingStarted.WhileSubscribed(5000)andMutableStateFlow/stateInchains. - Primitive constants like
Float.POSITIVE_INFINITY,Int.MAX_VALUEandDouble.NaNresolve in previews. - A
@Composablecalled directly inside a non-composable builder lambda (e.g. aText(...)sitting inLazyColumn { }outside anitem { }) no longer freezes the IDE.
KOTLIN EDITOR
combine/stateIn/MutableStateFlow(...)lambda parameters now get a real inferred type, so members resolve and completion works inside them.- A stale or non-existent
importno longer hides a declaration from the same file or package. - A genuinely dead
importis now flagged as an unresolved reference β both a missing type and a missing top-level or extension function/property. viewModelScopeand other inherited or in-scope extension properties resolve on the implicitthisinside a subclass.
CODE COMPLETION
- Completing an
importnow suggests a package's top-level functions and extensions (map,stateIn, ...), not just its types β and inserts the bare name, never amap()call form.
Full changelog: https://github.com/tyron12233/CodeAssist/releases/tag/v3.7.3