https://bugs.kde.org/show_bug.cgi?id=492061

Waqar Ahmed <waqar....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |waqar....@gmail.com

--- Comment #1 from Waqar Ahmed <waqar....@gmail.com> ---
You can ignore that error, rust-analyzer continues to work correctly despite
what it says.

> The error suggests that rust-analyzer is looking for my projects in my home 
> directory. That's obviously inappropriate, as I specifically loaded the 
> project I wanted to look at in Kate, so Kate should set the project directory 
> (as seen by rust-analyzer) to that directory.

If we do it, then Kate will open a server for every new root it finds, which is
a disaster. If you want to do it, change your lsp settings and specify the
following for rust-analyzer:

            "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],

I would suggest taking this up with rust-analyzer, it should be able to
discover the root on its own (and it does).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to