@@ -50,19 +50,18 @@ more details on building and debugging, etc., see [contributing.md](contributing
50
50
## Configuration
51
51
52
52
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.
55
57
56
58
Some highlights:
57
59
58
60
* ` rust.show_warnings ` - set to false to silence warnings in the editor.
59
61
* ` 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.
64
62
* ` rust.cfg_test ` - build and index test code (i.e., code with ` #[cfg(test)] ` /` #[test] ` )
65
63
64
+ * ` rust-client.channel ` - specifies from which toolchain the RLS should be spawned
66
65
67
66
## Features
68
67
@@ -86,8 +85,8 @@ the following snippets:
86
85
* ` for ` - a for loop
87
86
* ` unimplemented `
88
87
* ` unreachable `
89
- * ` println `
90
- * ` assert ` and ` assert_eq `
88
+ * ` print(ln) `
89
+ * ` assert(_eq) `
91
90
* ` macro_rules ` - declare a macro
92
91
* ` if let Option ` - an ` if let ` statement for executing code only in the ` Some `
93
92
case.
@@ -101,7 +100,7 @@ too many. If you want more, check out
101
100
### Tasks
102
101
103
102
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
105
104
` Run Task ` in the command palette.
106
105
107
106
The plugin writes these into ` tasks.json ` . The plugin will not overwrite
0 commit comments