VSCode: There is no formatter for ‘aspnetcorerazor’ files installed
After years of using VSCode I suddenly got this error after an update:
There is no formatter for ‘aspnetcorerazor’ files installed
Huh. It’s an easy fix: reinstall the c# extension by:
- Open the command palette (
cmd-shift-p
orctrl-shift-p
) - Choose “Developer: Reinstall Extension…”
- Choose “C#”
- Wait a minute and look for the reload prompt