How can I make a code editor like this in jetpack compose?
m
How can I make a code editor like this in jetpack compose?
v
This question is too broad to attract replies, you might have better luck if you ask about a specific problem you are having
m
Thanks for your suggestion. I want to make a code editor but i couldn't find a way to do this with syntax highlighting like in the screenshot i've used a flutter widget to make this but i don't know how to do this in android
j
Another way is using webview with your own html, css and js where you could use hightlight.js maybe
v
You probably need a 3rd party highlighting engine, I don't think Android has any native support for syntax highlighting
m
Ok guys! Thank you so much for your time. 😊
l
Jetbrains does have a codeviewer in the compose multiplatform repo. https://github.com/JetBrains/compose-multiplatform/tree/master/examples%2Fcodeviewer