fsprojects / zarchive-sublime-fsharp-package

F# development tools for SublimeText 3
32 stars 7 forks source link

Parse more often #56

Closed rojepp closed 9 years ago

rojepp commented 9 years ago

An FSAC parse should be performed on every edit. To be pragmatic about it, it should probably be done after an edit, and being idle for x msecs. As it is now, you have to invoke completions just to get errors to update. Not ideal.

Call parse on edit (possibly with delay) Call parse on view change (every time)

guillermooo commented 9 years ago

I think this was done before but the logic got lost when implementing the IdleAutocomplete list.

rneatherway commented 9 years ago

In support, this is the scheme I use in Emacs. An idle delay of 1s or so is quite good, because people like and expect there to be a bit of a wait so that they don't always get what they are typing underlined.