diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2021-05-30 16:41:33 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2021-05-31 15:14:56 +0200 |
| commit | fb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c (patch) | |
| tree | 958c7a8548dcc6cfce25ace53476183d73b1460d /docs/user | |
| parent | 4507382f2e66cd0e6498228bfdffb16769063b0f (diff) | |
| download | rust-fb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c.tar.gz rust-fb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c.zip | |
Add config setting for self-on-the-fly
Diffstat (limited to 'docs/user')
| -rw-r--r-- | docs/user/generated_config.adoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 4a5782a57e0..dbd9a3503b5 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -136,6 +136,12 @@ Whether to show postfix snippets like `dbg`, `if`, `not`, etc. Toggles the additional completions that automatically add imports when completed. Note that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled. -- +[[rust-analyzer.completion.autoself.enable]]rust-analyzer.completion.autoself.enable (default: `true`):: ++ +-- +Toggles the additional completions that automatically show method calls and field accesses +with `self` prefixed to them when inside a method. +-- [[rust-analyzer.diagnostics.enable]]rust-analyzer.diagnostics.enable (default: `true`):: + -- |
