Open Gama11 opened 8 years ago
TypeScript does this on each change and it works quite well, and we discussed that we could also have it for Haxe, but we have to get caching/indexing stuff in Haxe itself right first. Maybe we even could implement source file synchronization from vscode to Haxe directly - that's how both typescript and omnisharp plugins work.
Maybe this would be ok to do now with the completion cache?
To some degree, this can be mitigated if the user has "files.autoSave": "afterDelay"
enabled.
It feels a little counter-intuitive to me that the import quick-fix only shows up after a save - at first I thought it wasn't working. Could we detect if there's a pause during typing and run diagnostics then?
The delay after typing stops could be made configurable (also to turn it off completely I guess), since the behavior might potentially annoy some people.