Can you show your
settings.json
? Maybe you customized the default language for .cpp files. You can also try disabling all extensions except for the C/C++ one.