-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Every time a file is modified, Wake recompiles the entire project and runs all detectors again, which can take 10s of seconds for larger projects. During this time, language support in the IDE is severely limited and basic functionality such as code references is unavailable.
This is exacerbated by the fact that the entire project is recompiled and analyzed regardless of the extent of the changes, whether only one file was modified or there was no actual change to the bytecode.
I have auto-save enabled in my IDE, which makes this a persistent issue and I would say my biggest pain point in using the extension. The only setting I've found that helps a bit with this is wake.lsp.compilation_delay, which at least allows me to prevent triggering recompilation as long as I'm typing, but it only minimally alleviates the situation.
I would love to see all of this happen behind the scenes and changes to the symbol index and diagnostics only take effect once they're ready. Ideally, the extension should use the current state to markedly cut down on time to readiness on recompilation.