cargo check disable input for several seconds
Duration VSCode running cargo check, The editor has no response when input.
and it takes Number of seconds.
Whether can be cargo check executed asynchronously?
I've add settings like this.
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"rust-analyzer.checkOnSave.enable": true,
It runs asynchronously (blocking neither Code nor the language server), but it might be slow on your project/computer. I would disable files.autoSave.
I'm observing the same issue - VS Code editor input is completely blocked while cargo check is running.
I also have auto-save enabled and I'm quite fond of it, so I don't consider disabling it to be a good workaround.
I'm open to doing a deeper investigation myself. But I'm not super familiar with VS Code extensions, so if anybody can suggest a good place to start that would be very helpful.