Thanks!

1) Why wrap it? Every time I do that, the code becomes unreadable to me. Maybe most devs don' have that issue though, you tell me. I'm just looking at the main benchmarks out there for this stuff.

2) Agree, that's why I don't know how to approach it just yet. I might just implement some really elemantary coloring of the brackets and every thing between "..." and basta.

Reply to this note

Please Login to reply.

Discussion

1. Yes, maybe wrapping is a preference and that's just what I'm used to and that's why I find the side scrolling annoying

2. Syntax highlight lite! I like that idea and it would definitely help make code blocks more readable.

Not sure if this might be of interest?

https://www.theswift.dev/posts/i-made-a-swift-syntax-highlighting-app

Or maybe see how these work under the hood

https://fluttergems.dev/editor-syntax-highlighter/

MMM no, I'll think I'll stick #syntaxlite 😉

Just focussing on the:

{ [ ( . , and text between "..." and '...' and <...>

Should take of the 80% that matters fir readability.

And doesn't force me into using a gazillion colors that have zero match with my design system.