Closed picrots closed 2 years ago
Hey @picrots, I'm sorry to hear you're experiencing bad typing lag. I have not experimented with having the extension run locally vs remotely (but I'm guessing the default is to run it locally).
Luckily, it seems like there is a quick way to force an extension to run on the host? You will need to add the following to your settings:
"remote.extensionKind": {
"KevinRose.vsc-python-indent": [
"ui"
]
}
Can you try that and reply here to see if that helps?
(Edited this comment because I had things exactly backwards with respect to local vs remote)
Brilliant! @kbrose your suggested solution worked perfectly and my lag is now disappeared. Thank you very much. I close the issue.
thanks, it works for me, too!
FYI This behavior (preferring to run on the remote host) is now the default.
so i can remove the setting from my settings.json
now?
If you're using version 1.18 or later, yes. Keeping what you had in the settings should also continue to work, though.
Due to network speed or load on the remote host machine sometimes I experience huge delays from when I press the Enter key until I see the cursor move. It can get up to 10 sec sometimes and there is noting more annoying than typing unresponsiveness.
I guess my question is that does the extension have to run on the remote site or it can achieve the same result running locally? If it can't be run locally, then is it possible to have a timeout of max one second (or maybe adjustable via settings) for remote host to respond and if it doesn't respond it just run normal Enter?