Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 67c7db2

Browse files
authored
Refresh README.md
1 parent c1f1355 commit 67c7db2

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,18 @@ more details on building and debugging, etc., see [contributing.md](contributing
5050
## Configuration
5151

5252
This extension provides options in VSCode's configuration settings. These
53-
options have names which start with `rust.`. You can find the settings under
54-
`File > Preferences > Settings`; they all have Intellisense help.
53+
include `rust.*`, which are passed directly to RLS, and the `rust-client.*`
54+
, which mostly deal with how to spawn it or debug it.
55+
You can find the settings under `File > Preferences > Settings`; they all
56+
have Intellisense help.
5557

5658
Some highlights:
5759

5860
* `rust.show_warnings` - set to false to silence warnings in the editor.
5961
* `rust.all_targets` - build and index code for all targets (i.e., integration tests, examples, and benches)
60-
* `rust.build_lib` - if you have both a binary and library in your crate, set to
61-
true to build only the library.
62-
* `rust.build_bin` - if you have multiple binaries, you can specify which to build
63-
using this option.
6462
* `rust.cfg_test` - build and index test code (i.e., code with `#[cfg(test)]`/`#[test]`)
6563

64+
* `rust-client.channel` - specifies from which toolchain the RLS should be spawned
6665

6766
## Features
6867

@@ -86,8 +85,8 @@ the following snippets:
8685
* `for` - a for loop
8786
* `unimplemented`
8887
* `unreachable`
89-
* `println`
90-
* `assert` and `assert_eq`
88+
* `print(ln)`
89+
* `assert(_eq)`
9190
* `macro_rules` - declare a macro
9291
* `if let Option` - an `if let` statement for executing code only in the `Some`
9392
case.
@@ -101,7 +100,7 @@ too many. If you want more, check out
101100
### Tasks
102101

103102
The plugin provides tasks for building, running, and testing using the relevant
104-
cargo commands. You can build using `ctrl + shift + b`. Access other tasks via
103+
cargo commands. You can build using <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>b</kbd>. Access other tasks via
105104
`Run Task` in the command palette.
106105

107106
The plugin writes these into `tasks.json`. The plugin will not overwrite

0 commit comments

Comments
 (0)