fsprojects / zarchive-sublime-fsharp-package

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

Fix #56 parse more often #60

Closed guillermooo closed 9 years ago

rojepp commented 9 years ago

Maybe I'm missing something, but it looks like IdleParser is never constructed?

We shouldn't reparse if nothing has changed since the last parse?

guillermooo commented 9 years ago

Instantiating plugin classes is the job of the plugin loader. Some plugins are instantiated per-view, some per-window, others per-application.

guillermooo commented 9 years ago

We shouldn't reparse if nothing has changed since the last parse?

Makes sense. Will fix.

rojepp commented 9 years ago

Ah, so sublime provides IdleIntervalEventListener?

guillermooo commented 9 years ago

https://github.com/fsharp/sublime-fsharp-package/blob/master/FSharp/sublime_plugin_lib/events.py#L9

rojepp commented 9 years ago

Thanks for explaining.