Reputation: 1
After a recent update of either Visual Studio 2022 or R#, now when I'm in the xaml editor and I press the tab key, the snippets dialog pops up.
This is new behaviour, and is incredibly annoying. Can I stop it?
I've searched the settings and the kep mappings, and tried various internet searches, but can't find any specific fixes.
When I press the tab key, I expect the editor to insert a tab character into my document.
What actually happens is that I press the tab key, and the code snippets menu will pop up. If I press the tab key again, it vanishes.
Screen shot as requested after pressing Tab
Upvotes: 0
Views: 54
Reputation: 3321
By default, Ctrl+K, X invokes code snippets menu in XAML file. Please check if you have set Tab
as a shortcut to invoke code snippets to pop up.
Tools->Options->Environment->Keyboard, type snipp
in Show commands containing
and find Edit.InsertSnippet
.
You can assign other keyboards to InsertSnippet.
Besides, this doc XAML code snippets notes
We've enhanced IntelliSense so that it supports showing XAML snippets.
Looks like code snippets is a built-in in IntelliSense. I'm afraid there is no settings/options available to disable it.
Upvotes: 0