So far after installing the C++ extension tool, I can use Ctrl + K + F to auto-format my C++ code. However, I would like to make some modification, for example I would like to force the pointer alignment to be near the type, instead of next to the variable name, such as this rule:
# Force pointers to the type for C++.
DerivePointerAlignment: false
PointerAlignment: Left
How can I do this modification? I've tried to create a .clang-format file, but it doesn't work.