Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide keywords from rust-analyzer autocomplete?

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:

Screenshot

How can I hide the keywords, displaying only the actual struct members?

like image 231
rodrigocfd Avatar asked Oct 20 '25 09:10

rodrigocfd


1 Answers

You can disable this in the settings UI by navigating to Text Editor > Suggestions > Show Keywords:

enter image description here

Or alternatively disable it via settings.json by including:

"editor.suggest.showKeywords": false,
like image 113
kmdreko Avatar answered Oct 22 '25 04:10

kmdreko