SublimeClangFormat
SublimeClangFormat copied to clipboard
Possible to use yaml clang-format as config?
Hello and thanks for this plug-in, it was a breeze to install and get up and running.
I was wondering, is it possible to use a standard config file for this plug-in, written in yaml (such as ~/.clang-format
or one at a user specified path)? I'd like this so that I could re-use the clang-format settings that are used by a different application.
cheers, Rich
I've actually never tried it, but it should work just fine.
Just choose Clang Format: Select Style
from the Command Palette and then choose File
.
It will (should) then do whatever Clang Format does when you tell it to look for a config file.
Let me know if you encounter any problems!
Yes, this works!