I have an old computer where SublimeLinter plug-in causes constant “This plug-in takes long time to response” messages. It’s more like computers fault (slow io).
Where one could adjust the timeout which triggers this dialog message?
I have an old computer where SublimeLinter plug-in causes constant “This plug-in takes long time to response” messages. It’s more like computers fault (slow io).
Where one could adjust the timeout which triggers this dialog message?
You can add this to your user preferences to get rid of the message all together: "detect_slow_plugins": false
You coud probably rewrite the plugin to use sublime.set_timeout and generators and break down the main thread routine into little chunks, 2-3 ms each. The advantage is that you can check for any state change before turning the gears a notch and just halt or restart the job.
If your computer really is that slow it might be worth it ?
[quote=“castles_made_of_sand”]
If your computer really is that slow it might be worth it ?[/quote]
Assumed time needed to rewrite a very complex plug-in to chunk / generator based: 3-5 days
Value of coding hour: 100 USD
Price of a new computer: 1600 USD.
No thank you
Please note that SublimeLinter already used threading, so I am not sure what causes those pop-ups to appear.
Actually this does not seem to have effect for some reason
Put this into Preferences > Global Settings - User.
Using Build 2181.
Hmm in fact the reponsive dialog tells to adjust this setting, so it should be there I guess
[quote=“miohtama3”]
Value of coding hour: 100 USD
Price of a new computer: 1600 USD.
No thank you [/quote]
hahaha … when you put it like that …