vshaxe / vshaxe

Haxe Support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=nadako.vshaxe
MIT License
327 stars 61 forks source link

Run diagnostics more often than just on save? #34

Open Gama11 opened 8 years ago

Gama11 commented 8 years ago

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.

nadako commented 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.

Gama11 commented 7 years ago

Maybe this would be ok to do now with the completion cache?

Gama11 commented 7 years ago

To some degree, this can be mitigated if the user has "files.autoSave": "afterDelay" enabled.