-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recognize source file extensions ".ccm", ".cxxm", and ".c++m" #422
Conversation
cmake 3.27 release notes: The "CXX" language now treats source file extensions ".ccm", ".cxxm", and ".c++m" as C++. Signed-off-by: 15knots <11367029+15knots@users.noreply.github.com>
cmake 3.27 release notes: The "CXX" language now treats source file extensions ".ccm", ".cxxm", and ".c++m" as C++. Signed-off-by: 15knots <11367029+15knots@users.noreply.github.com>
Maybe the default preferences in C/C++ | Files Types should be updated, too. But I could not find it. |
I think there are multiple places, based on different uses: File types: cdt/core/org.eclipse.cdt.core/plugin.xml Lines 615 to 624 in c91d0f7
Diff viewer with structure: cdt/core/org.eclipse.cdt.ui/plugin.xml Lines 1746 to 1749 in 14dfefd
Managed make builder: cdt/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml Lines 2089 to 2096 in 45a6e79
|
@jonahgraham Actually source file extensions ".ccm", ".cxxm", and ".c++m" are for C++ 20 module files. I will look in the places you mentioned tomorrow. |
I haven't tried, but I doubt CDT indexer supports C++20 modules as I don't recall anyone working on that. More reason for the clangd indexer work being done in cdt-lsp! |
cmake 3.27 release notes: The "CXX" language now treats source file extensions ".ccm", ".cxxm", and ".c++m" as C++. Signed-off-by: 15knots <11367029+15knots@users.noreply.github.com>
Needs rebase now that #421 is merged. |
This change seems to have introduced a bunch of regressions. I am not sure why the reporting was inconsistent. If I can't quickly fix this I am going to revert it and retry applying it from scratch. |
Recently new extensions were added to CDT for C++ modules in eclipse-cdt#422 At the time some test failures were not noticed. This change patches those failing tests. Fixes eclipse-cdt#454
Recently new extensions were added to CDT for C++ modules in eclipse-cdt#422 At the time some test failures were not noticed. This change patches those failing tests. Fixes eclipse-cdt#454
To be consistent with latest cmake and CDT (eclipse-cdt/cdt#422).
To be consistent with latest cmake and CDT (eclipse-cdt/cdt#422).
cmake 3.27 release notes: The "CXX" language now treats source file extensions ".ccm", ".cxxm", and ".c++m" as C++.