Hello @Douglass, Harry W,
Thank you for taking time to post this issue in Microsoft Q&A forum.
The feature you mentioned => "p+[tab] => <p></p>" should be a simple snippet.
Different from the legacy Razor editor, the snippets related support is not currently available in the new Razor editor in Visual Studio 2022, as this blog says:
Below is a list of known limitations that we are working to address: Snippets support (expansion with Tab) …
So, to remove code background => use the new Razor editor. To use the simple snippet(Tab) like before => use the legacy Razor editor.
It’s currently not possible to make both removing the code background and simple snippets(Tab) work.
Some clues:
These will be in 17.9 Preview 1. See #9327 for details on any limitations that still exist
- Tested in 17.9.0 Preview 5.0, the "p+[tab] => <p></p>" still didn’t work, but "div+[tab]=><div></div>" worked.
- I may suggest you also report this feedback on GitHub/Razor.
Thanks for your understanding and thanks for helping us make Visual Studio better.
Have a great day.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.