I've drafted the code for parsing each file separately in idle handler (#1291), to avoid blocking the UI for too long.

It would actually be great if something like this could be used in Geany itself as well - only the current document needs to be fully parsed when opened, other files might be parsed "in background" to improve start-up / project open times. Too bad that cooperative multitasking/threading is so complicated in C.

BTW, it is funny, that very similar thing (that asynchronous parsing would speed things up), was mentioned in the LSP pull request just today 🙂


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1289/1793505729@github.com>