Replies: 5 comments 3 replies
-
No, there is no way to specify |
Beta Was this translation helpful? Give feedback.
-
Thx for the info. But it seems the |
Beta Was this translation helpful? Give feedback.
-
I have to correct me. The .clang-format file is indeed applied if One result snippet of return types::CellDynamicParams{std::optional<types::nr_rrc::MeasurementTimingConfiguration>{mtc},
std::nullopt,
std::nullopt,
std::nullopt,
servedPlmnList,
std::nullopt}; Whereas clangd does return types::CellDynamicParams{
std::optional<types::nr_rrc::MeasurementTimingConfiguration>{mtc},
std::nullopt,
std::nullopt,
std::nullopt,
servedPlmnList,
std::nullopt}; The .clang-format file is
What could be the reasons, that I then also copied the above style file into several ancestor paths and even into the src folder, but clang-format-9 keeps on doing its own thing applies something different. |
Beta Was this translation helpful? Give feedback.
-
Now it gets even more chaotic. When I do clang-format-9 --dump-config, we have
I copied this dump to the project |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! But finally, your suggestions integrates as it should be :) |
Beta Was this translation helpful? Give feedback.
-
I would like to use the formatter of the clangd extension in VSC.
On default it formats the file, but not the way I want.
Is there a way to specify the entire command, like:
clang-format-9 -style=file -i ${file}
How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions