-
-
Notifications
You must be signed in to change notification settings - Fork 917
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
xmake format doesn't format C++ modules files.
Describe the solution you'd like
As I understand it, to provide support, it is enough to add "c++.build.modules" here:
xmake/xmake/plugins/format/main.lua
Lines 113 to 117 in 78d9621
| function _source_batch_should_format(sourcebatch) | |
| local rulename = sourcebatch.rulename | |
| local matched_rules = {"c.build", "c++.build", "cuda.build", "objc.build", "objc++.build"} | |
| return table.contains(matched_rules, rulename) | |
| end |
If there's no reason not to do this, I'll provide a PR.
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done