I'm using rust-analyzer 0.2.654 (latest) on VS Code 1.57.1 (also latest) on Windows 10.
The autocomplete displays all keywords, as shown below:
How can I hide the keywords, displaying only the actual struct members?
I'm using rust-analyzer 0.2.654 (latest) on VS Code 1.57.1 (also latest) on Windows 10.
The autocomplete displays all keywords, as shown below:
How can I hide the keywords, displaying only the actual struct members?
You can disable this in the settings UI by navigating to Text Editor > Suggestions > Show Keywords
:
Or alternatively disable it via settings.json
by including:
"editor.suggest.showKeywords": false,
You also need to disable "Postfix completions" otherwise you get a load of completions like dbg
, match
and so on which are really automatic snippets rather than actual struct members.