about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2021-05-30 16:41:33 +0200
committerLukas Wirth <lukastw97@gmail.com>2021-05-31 15:14:56 +0200
commitfb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c (patch)
tree958c7a8548dcc6cfce25ace53476183d73b1460d /editors/code
parent4507382f2e66cd0e6498228bfdffb16769063b0f (diff)
downloadrust-fb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c.tar.gz
rust-fb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c.zip
Add config setting for self-on-the-fly
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 5b80cc1f9d9..42a06e13744 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -572,6 +572,11 @@
                     "default": true,
                     "type": "boolean"
                 },
+                "rust-analyzer.completion.autoself.enable": {
+                    "markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "rust-analyzer.diagnostics.enable": {
                     "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
                     "default": true,