SublimeText - LSP-rust-analyzer:failed to load workspaces

Hello everyone,

I installed an Ubuntu machine via wsl on my Windows PC. Then, I installed Rust this Ubuntu machine. on my windows machine, i have installed SublimeText with RustEnhanced and LSP-rust-analyzer packages. when i create a new project, let me say cargo new hello_world, and then try to open main.rs file with SublimeText, i'm receiving rust-analyzer: failed to load workspaces warning and because of that reason, cargo build cannot run automatically. what should i do?

Regards

Use the console and look for any errors. In my experience, the problems is usually something related to the environment, like not having the tools in your PATH. You may have to restart ST after any changes to your environment (updating the PATH variable, installing dependencies, etc.)