D22963: support Rust LSP server auto-detect some useful root path based on location of Cargo.toml

Pavel Kropitz noreply at phabricator.kde.org
Tue Aug 6 15:09:30 BST 2019


univerz added a comment.


  > Is it better to search for only the "Cargo.lock" or shall one search just for both and use the first director with a hit?
  
  disclaimer: i have no expertise in this area :).
  
  this comment is clearer https://github.com/rust-analyzer/rust-analyzer/issues/1650#issuecomment-518088316
  
  it looks like the problem is that search for `.toml` stops too early, so using both and use first directory with a hit would not work. each project in a workspace have it's own `Cargo.toml`, but there is only one top-level `Cargo.lock`.

REPOSITORY
  R40 Kate

REVISION DETAIL
  https://phabricator.kde.org/D22963

To: cullmann, mnauwelaerts
Cc: univerz, kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190806/e3c9c69f/attachment.html>


More information about the KWrite-Devel mailing list