aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-18 19:26:45 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-18 19:26:45 +0000
commit7fc35d391c76aed4defc8600e75215845afa66b7 (patch)
treeccae2a9b37df57da996157d54113d2357edb8da3 /crates/ra_assists
parent132b207a228d0c588b08bbfffd53002b46521a1e (diff)
parent69edc10f3529add3de65b62a7304d3fc258c7a62 (diff)
Merge #993
993: Fix installing vscode extension on MacOS r=matklad a=funkill VSCode often installed in MacOS as `Visual Studio Code.app` package and `code` binary located at `Contents/Resources/app/bin` in package. This path not exists in `$PATH` variable and we can't run `code`. In previous version of `do_run` function all before space was command and all after - arguments. If path or command has spaces, extracting command breaks. To fix this i extracted command to separated argument of function. All packages can be placed in system app dir (`/Applications`) or user app dir (`~/Applications`). I created helper function for find app in this directories. Co-authored-by: funkill2 <[email protected]>
Diffstat (limited to 'crates/ra_assists')
0 files changed, 0 insertions, 0 deletions