diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-28 14:37:37 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-28 14:37:37 +0100 |
commit | 190a0595a478d059fdd95a179fe38d59cb6379be (patch) | |
tree | 24b22bf8c212df5b6bc6c8ba493d2d7171b24b7f /crates/ra_hir/src/db.rs | |
parent | fc29d0e9248bf36c6e47f54f41e90a288729b1a7 (diff) | |
parent | 6d0f1e2e7209e85c1c558bd712d22e359f1f2786 (diff) |
Merge #4640
4640: Add `inRustProject` when-clause for commands in vscode r=vsrs a=vsrs
At the moment all rust-analyzer commands always visible in the command palette, even if there is no rust project opened.
This PR adds special [when-clause](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts) context. This context also might be used in key bindings.
Co-authored-by: vsrs <[email protected]>
Co-authored-by: vsrs <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/db.rs')
0 files changed, 0 insertions, 0 deletions