diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-17 19:44:59 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-17 19:44:59 +0100 |
commit | b060d8446767c8071197bbd49e700867722b564e (patch) | |
tree | b55fba950d29f6bd041f26e78e3e56cefb649c31 /docs | |
parent | e8a7a7b19aab195d2b37a0b13abca4e006e9bbd5 (diff) | |
parent | f4d50de2758b38208745d9594ccbcf0227d49d5b (diff) |
Merge #2029
2029: Adds config option for cargo-watch `--ignore` flag r=matklad a=jrvidal
I presume this is a nice-to-have to avoid spurious watching.
* I don't know much about Windows, so I'm not sure if the extra args need some special escaping.
* I suppose we could reuse and/or integrate with `rust-analyzer.excludeGlobs`. I find this simpler, but I'm open to suggestions.
Co-authored-by: Roberto Vidal <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index 036b51d58..5b7502132 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -79,6 +79,7 @@ See [microsoft/vscode#72308](https://github.com/microsoft/vscode/issues/72308) f | |||
79 | * `rust-analyzer.cargo-watch.command`: `cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` ) | 79 | * `rust-analyzer.cargo-watch.command`: `cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` ) |
80 | * `rust-analyzer.cargo-watch.arguments`: cargo-watch check arguments. | 80 | * `rust-analyzer.cargo-watch.arguments`: cargo-watch check arguments. |
81 | (e.g: `--features="shumway,pdf"` will run as `cargo watch -x "check --features="shumway,pdf""` ) | 81 | (e.g: `--features="shumway,pdf"` will run as `cargo watch -x "check --features="shumway,pdf""` ) |
82 | * `rust-analyzer.cargo-watch.ignore`: list of patterns for cargo-watch to ignore (will be passed as `--ignore`) | ||
82 | * `rust-analyzer.trace.server`: enables internal logging | 83 | * `rust-analyzer.trace.server`: enables internal logging |
83 | * `rust-analyzer.trace.cargo-watch`: enables cargo-watch logging | 84 | * `rust-analyzer.trace.cargo-watch`: enables cargo-watch logging |
84 | * `RUST_SRC_PATH`: environment variable that overwrites the sysroot | 85 | * `RUST_SRC_PATH`: environment variable that overwrites the sysroot |