Leathong
Leathong
I got it, I will check if there is a command line argument for that feature.
You can customized a .clang-format file for this. Formatting function simply calls clang-format.
In fact there is no dedicated OpenSCAD formatting tool, the formatting function simply calls clang-format. So if the format is too different from the c language, it will not be...
I'll try a workaround, replacing the * modifier by a mark before formatting and restoring it after it was done.
All modifier characters are not handled for now, they can be processed by the same way.
I wonder why not use the export function in OpenSCAD
Got it, I will add this feature in the near future.
Maybe you need install clang-format on WSL. I have no development environment to test is.