1

I've been working on a C++ file with the extension .mm. VisualStudio 2019's IntelliSense wasn't working, so I installed Resharper C++, but it was still not giving me any code completion or other features. However, when I renamed the file to have the .cpp extension it worked. Is there no way to tell Visual Studio or Reharper C++ to treat either all .mm files (or just a specific file) as C++ files?

Svend Hansen
  • 276
  • 1
  • 3
  • 16

1 Answers1

1

You need to tell Visual Studio that those .mm files are in fact C++.

Go to menu Tools > Options > Text Editor > File Extension and add your extension and restart Visual Studio:

enter image description here

harrymc
  • 455,459
  • 31
  • 526
  • 924
  • Lovely! I was a hoping there'd be an easy solution, I just couldn't find it and no one else on the internets seemed to be having the same problem :P – Svend Hansen Feb 24 '21 at 01:50