Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to use yaml clang-format as config? #11

Open
richardeakin opened this issue Oct 11, 2014 · 2 comments
Open

Possible to use yaml clang-format as config? #11

richardeakin opened this issue Oct 11, 2014 · 2 comments
Labels

Comments

@richardeakin
Copy link

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

@rosshemsley
Copy link
Owner

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!

@bilke
Copy link

bilke commented Aug 20, 2015

Yes, this works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants