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?
Asked
Active
Viewed 465 times
1
Svend Hansen
- 276
1 Answers
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:
harrymc
- 498,455
