CodeEditSourceEditor icon indicating copy to clipboard operation
CodeEditSourceEditor copied to clipboard

🐞 Highlighting takes a while

Open 0xWDG opened this issue 3 years ago • 2 comments

Highlighting

After opening a file highlighting doesn't start Screenshot 2022-06-11 at 15 43 40

After pressing enter (last line) it starts highlighting Screenshot 2022-06-11 at 15 43 17

0xWDG avatar Jun 11 '22 13:06 0xWDG

This just happens when opening a *.swift file right?

You might want to try to run it in Release configuration which should dramatically improve performance.

lukepistrol avatar Jun 11 '22 13:06 lukepistrol

We might need to show "Loading X language features" this in the CodeEdit activity bar while this completes. We'd need to somehow pull that state out of this view.

austincondiff avatar Jun 28 '22 03:06 austincondiff

@thecoolwinter is this fixed with #59 ?

lukepistrol avatar Oct 03 '22 18:10 lukepistrol

Yes, closed with incremental highlighting #59. CodeEdit will now only try to highlight the visible text which greatly improves the initial highlight time

thecoolwinter avatar Oct 03 '22 18:10 thecoolwinter