diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-12 10:23:47 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-12 10:23:47 +0000 |
commit | 97a87bf3a68338b1acc2b7a02dfa43096bf47e05 (patch) | |
tree | 1f61d8ba63823f243486f1a0a70c38f244ea9760 /crates/ra_hir/src/ty/infer.rs | |
parent | 65a9066115f3d2d150b4fcb46c1db65b2ac91832 (diff) | |
parent | 9fe3b36bdae52dabecc3989161162fc6d2a3dccb (diff) |
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 <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/infer.rs')
0 files changed, 0 insertions, 0 deletions