]> git.lizzy.rs Git - rust.git/commit
Merge #959
authorbors[bot] <bors[bot]@users.noreply.github.com>
Tue, 12 Mar 2019 10:23:47 +0000 (10:23 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Tue, 12 Mar 2019 10:23:47 +0000 (10:23 +0000)
commit97a87bf3a68338b1acc2b7a02dfa43096bf47e05
tree1f61d8ba63823f243486f1a0a70c38f244ea9760
parent65a9066115f3d2d150b4fcb46c1db65b2ac91832
parent9fe3b36bdae52dabecc3989161162fc6d2a3dccb
Merge #959

959: Retrieve current working directory from workspace r=matklad a=LDSpits

This PR improves the way the language client retrieves the current working directory by using the VSCode workspace API to get the path to the currently open directory.

If we find more than one directory we show a warning that "multi root workspaces are not supported yet" and pick the root path.

Any feedback is appreciated ðŸ˜„

fixes #945

Co-authored-by: Lucas Spits <spits.lucas@gmail.com>