[Kate-LSP]: ERROR failed to find any projects in . .

. . . . [AbsPathBuf("/home/firenwater")] <<-- (output from LRP at bottom of Kate editor)

My project is in "/home/firenwater/Rust_Projects/hello_world/src/"

How do I get the LSP to look in the current project directory and not my home directory?

Any help is appreciated. . .thanks!!

I read the Github instructions and put this in my User Server Settings:

{
"servers": {
"rust": {
"initializationOptions": {
"cachePriming": {
"enable": false
},
"check": {
"allTargets": false
},
"checkOnSave": false
}
}
}
}

Did you try running Kate from the project directory, i.e., the directory containing Cargo.toml? (Just a guess, I don't use Kate.)

Yes, I tried opening kate from the terminal in both the project directory with the cargo.toml file and the /src/ directory. The LSP is only looking in my home folder.

It seems like there should be some variable that Kate can pass to the LSP indicating the current project directory?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.