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?

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
  • 498,455