You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++20 Modules is a great feature, and it's well liked by many. I'm developing a program leveraging C++20 Modules in VSCode, and my code both compiles and runs without any issues. However, the cpptools extension always throws numerous error messages at me, suggesting it can't locate the modules I've defined. My project is built using CMake, and I'm using the latest versions of VSCode, Visual Studio, MSVC, and the vscode-cpptools extension. I'm not sure what's going wrong, as my program compiles and runs perfectly, yet the vscode-cpptools extension consistently flags errors.
I wonder if the vscode-cpptools plugin now supports the C++20 Modules feature? It would be helpful if someone could provide a minimal example of code using the C++20 Modules feature (based on CMake).
It's September 2025 now, and this issue still hasn't been resolved. It's hard to imagine that even though the C++20 standard has been out for so many years, the support from relevant tools is still experimental.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
@xb284524239 Modules support is still in development, so it has bugs, such as #9965 .