First, thanks for developing the plugin for JetBrains IDEs.
I'm on Windows where I use clang-format 7.0 installed in C:\Program Files (x86)\LLVM\bin but the path is added to PATH.
I've installed the plugin for CLion and I got it working eventually, but I have to admit the configuration is slightly confusing. Here are my attempts:
1 . Does not work
clang-format binary: clang-format or clang-format.exe
Cannot run program "clang-format.exe": CreateProcess error=2,
The system cannot find the file specified command:
[clang-format.exe, -style=file, -output-replacements-xml, -assume-filename=D:/boost.wsl/libs/gil/test/channel_traits.cpp, -cursor=998, -offset=998, -length=0]
in PATH=C:\Program Files (x86)\LLVM\bin
First, thanks for developing the plugin for JetBrains IDEs.
I'm on Windows where I use clang-format 7.0 installed in
C:\Program Files (x86)\LLVM\bin
but the path is added toPATH
.I've installed the plugin for CLion and I got it working eventually, but I have to admit the configuration is slightly confusing. Here are my attempts:
1 . Does not work
clang-format binary
:clang-format
orclang-format.exe
PATH (empty inherits default)
:C:\Program Files (x86)\LLVM\bin
2 . Does work
clang-format binary
:C:\Program Files (x86)\LLVM\bin\clang-format.exe
PATH (empty inherits default)
: