Environment:
Linux Mint 19 Cinnamon
codelite-12.0.10-gtk3 .deb
clang-6.0
clang-format-6.0
libclang-6.0-dev
libclang-common-6.0-dev
libclang1-6.0
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
Suite of wxWidgets libraries and headers GTK3 variant.
Problem:
Source code formatter plugin is enabled
In Options..., clang-format is selected as the source code formatter, Apply then OK clicked.
Returning to the Options... dialog, AStyle is shown as the source code formatter.
Analysis:
clang-format is not being selected as the source code formatter. AStyle is being used instead.
The above dependencies list clang-format-6.0 but /usr/bin/clang-format is provided by the package clang-format which isn't a dependency.
Installing clang-format provides fixes the problem.
NOTE: This is a potential problem for any multi-version packages. Installing the non-versioned package is required to provide the generic binary.
Regards,
Neil
Selection of clang-format source formatter doesn't work
-
- CodeLite Enthusiast
- Posts: 16
- Joined: Wed Oct 31, 2018 2:16 pm
- Genuine User: Yes
- IDE Question: C++
- Location: United Kingdom
- Contact: