Hi everyone! I wanted to share
KodeMirror — a native Compose Multiplatform code editor, built as a ground-up Kotlin port of CodeMirror 6.
CMP has no code editor story. I was using CodeMirror in Kotlin/JS + React projects and didn't want to lose it when moving to Compose, so I ported it natively.
v0.1.0 includes syntax highlighting for 20+ languages, vim mode, search/replace, autocompletion, linting, collaborative editing, diff/merge view, and multiple themes (One Dark, Dracula, GitHub Light, Material). 2,200+ tests including 600+ ported from the upstream CodeMirror vim test suite.
Live demo (runs in the browser via wasmJs, no install):
https://monkopedia.github.io/kodemirror/showcase/
Known rough edges: single editor per window is the biggest limitation right now, and Android/iOS aren't battle-tested on real devices yet.
Maven Central: com.monkopedia.kodemirror
kodemirror bom0.1.0
GitHub:
https://github.com/Monkopedia/kodemirror