diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-06 15:22:00 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-06 15:22:00 +0100 |
commit | 1acd9d5540bf755e87173fe16a803cfe8b2bb500 (patch) | |
tree | a5fb9afa541a4e6ab5818530b3fd19d5e461ef9e /docs | |
parent | 007737a0e7dd2866e02a6398d8ee4aa7d5051d8c (diff) | |
parent | 28df377759ee5625b0dad4c797be306c8d2624e3 (diff) |
Merge #1780
1780: add option to disable notify r=matklad a=matklad
This should help if notify uses 100% of CPU. Put
```
{
"rust-analyzer.useClientWatching": true,
}
```
into `.vscode/settings.json` (or appropriate config of your editor) to use editor's file watching capabilites instead of notify
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index 453e8e273..56c2d9eb5 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -74,6 +74,8 @@ See https://github.com/microsoft/vscode/issues/72308[microsoft/vscode#72308] for | |||
74 | * `rust-analyzer.excludeGlobs`: a list of glob-patterns for exclusion (see globset [docs](https://docs.rs/globset) for syntax). | 74 | * `rust-analyzer.excludeGlobs`: a list of glob-patterns for exclusion (see globset [docs](https://docs.rs/globset) for syntax). |
75 | Note: glob patterns are applied to all Cargo packages and a rooted at a package root. | 75 | Note: glob patterns are applied to all Cargo packages and a rooted at a package root. |
76 | This is not very intuitive and a limitation of a current implementation. | 76 | This is not very intuitive and a limitation of a current implementation. |
77 | * `rust-analyzer.useClientWatching`: use client provided file watching instead | ||
78 | of notify watching. | ||
77 | * `rust-analyzer.cargo-watch.check-arguments`: cargo-watch check arguments. | 79 | * `rust-analyzer.cargo-watch.check-arguments`: cargo-watch check arguments. |
78 | (e.g: `--features="shumway,pdf"` will run as `cargo watch -x "check --features="shumway,pdf""` ) | 80 | (e.g: `--features="shumway,pdf"` will run as `cargo watch -x "check --features="shumway,pdf""` ) |
79 | * `rust-analyzer.trace.server`: enables internal logging | 81 | * `rust-analyzer.trace.server`: enables internal logging |