razor
razor copied to clipboard
C# snippets don't work at end of Razor files
Version: 33427.263.main
Trying to tab-tab to expand C# snippets at the end of a Razor file instead just inserts two tabs into the file:

Additional report: https://developercommunity.visualstudio.com/t/IntelliSense-for-Razor-Pages-malfunction/10203495
Can confirm this is the issue. Thanks for pointing out the reason it's not working. Turned out it's not due to any @functions or any block but simply because it's at the end of the file.
Current workaround is to just leave an empty line at the end and it works.