diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-20 15:02:36 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-20 15:02:36 +0100 |
commit | 526a6aba104a32eb9f0f5a65232783d5570c35d5 (patch) | |
tree | f8f6687924cb15a2d759dae02205b7f28a5f83fd /docs/user/features.md | |
parent | 0d39b1c3fa03a8032ea96be922fd62710f811aba (diff) | |
parent | 4cd0a96c96870d4e9a73b92f401a8fad26f3c02a (diff) |
Merge #1174
1174: improve cargo watch r=matklad a=vemoo
- Add start and stop commands
- Cleanup trypescript code to avoid definite assignment assertions (`!` after possibly undefined value)
- Recover `rustc-watch` problem matcher because it's still useful, can be used with any command, for example `cargo test`
Co-authored-by: Bernardo <[email protected]>
Diffstat (limited to 'docs/user/features.md')
-rw-r--r-- | docs/user/features.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index 09a7f5a43..cffbb4c7f 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -76,6 +76,14 @@ Shows internal statistic about memory usage of rust-analyzer | |||
76 | 76 | ||
77 | Manually triggers GC | 77 | Manually triggers GC |
78 | 78 | ||
79 | #### Start Cargo Watch | ||
80 | |||
81 | Start `cargo watch` for live error highlighting. Will prompt to install if it's not already installed. | ||
82 | |||
83 | #### Stop Cargo Watch | ||
84 | |||
85 | Stop `cargo watch` | ||
86 | |||
79 | ### Code Actions (Assists) | 87 | ### Code Actions (Assists) |
80 | 88 | ||
81 | These are triggered in a particular context via light bulb. We use custom code on | 89 | These are triggered in a particular context via light bulb. We use custom code on |