-
Notifications
You must be signed in to change notification settings - Fork 147
Description
I have a project directory with a .clang-format file at its root. I made a symlink to another .clang-format file somewhere in the project tree. It looks like the extension's formatting stuff doesn't see the latter one if I'm trying to format sources placed in the same directory where the symlink is placed. If I'm trying to call the "system" clang-format from the console with the same sources, it sees the symlinked .clang-format. As well, if I copy a .clang-format instead of the making the symlink, the formatting in the IDE works as expected too for these sources.
System information
Clangd version (from the log, or clangd --version):
clangd version 21.0.0git (https://github.com/llvm/llvm-project b62b58d1bbbff7ca200f166603c80470639a0632)
Features: linux+grpc
Platform: x86_64-unknown-linux-gnu
clangd extension version: 0.2.0
Operating system: Arch Linux