clang-power-tools
clang-power-tools copied to clipboard
clang-format.exe from a docker image
Is it possible to use a docker image that provides the clang-format.exe instead of having to install it on the system?
So instead of having exe on the system, a docker container is run that does the formatting:
docker run --rm -it --mount type=bind,source=%current_dir%, target=%current_dir% -w %current_dir% docker-image /usr/bin/clangformat
Probably the directory mapping will be tricky, are files with full path name provided to the executable?
Hello @edwardvandevorst-philips,
Thank you for your suggestion. We will start to investigate if this feature is doable and get back to you.