Importing Google Style in CLion

Is it possible/available to configure the code style to use Google Style?
Do you guys have created a config file?

I could do that manually, obviously, but it's tedious and I'd rather re-use something that's already been done and shared.

Thanks!

4 comments
Comment actions Permalink

Current default code style is based on Google one.
However you can change any prefered options and save your own scheme or wait till one of the next CLion 1.1 EAP with the bundled Google Code Style scheme, that includes many improvements.

0
Comment actions Permalink

Well, it's actually not.
The indentations are all wrong and several other ones are off too.

Anyways, I'll wait and see if it's made available, thanks.

0
Comment actions Permalink

You are write, the code style options in 1.0.x stable release were missing a couple of option crucial for the Google code style. It was improved greatly in EAP version. Have you tried it, by the way? https://confluence.jetbrains.com/display/CLION/Early+Access+Program

0
Comment actions Permalink

Thanks!
No, I hadn't (to be honest, the EAP's downloads are not that straightforward to find) - just downloaded and giving it a spin :)

Thanks, Anastasia!

0

Please sign in to leave a comment.