Reputation: 1296
I have previously used VS2019 and switched to VS2022 just a couple of days ago (both Community edition on Windows 10 Pro).
Now, autocomplete is not working for me in cshtml files. Same problem as described here: Reddit post
If I type div
and press TAB nothing happens, in VS 2019 it was automatically changed to: <div></div>
.
Is there a setting I'm missing?
Upvotes: 2
Views: 4190
Reputation: 28386
The "type div and press tab" is technically a snippet, not autocompletion. Snippets are not currently working on the new Razor editor in VS2022, but the feature is currently being worked on. If you want to switch back to the old Razor editor, see this answer.
Upvotes: 4