How can I publish my settings?

Answered

I am using CLion and tweaked the editor to format the code in a specific way to aid documenting and readability.

Now I am kind of assuming that when someone edits the code it is done with my environment and settings or it will be a visual mess.

For example "Preferences -> Editor -> Code Style -> C/C++/Objective-C -> Wrapping and Braces -> Variable groups -> Align in columns : Yes". I would also like to suggest some additional styling properties like alignment of comments.

With documentation (or in source) I would like to publish what my editor settings are, and where/when appropriately apply them.

How can I create a textual overview of all the changes I have made to my settings. And How can I load them easily?

Thank you.

0
2 comments

I know you can export settings, but that is a binary ZIP file. Exporting to a settings repository is external to the project.

I was hoping for some text files or directory that could be included with version control and automatically loaded on a per project basis.

0

Hi, Franz.

For sharing project settings, .idea project configuration directory should be shared via version control. See https://www.jetbrains.com/help/clion/synchronizing-and-sharing-settings.html for more details.

Note that it's about project settings, so in File | Settings | Editor | Code Style | C/C++ (for example) Project should be specified in the Scheme field when you're adjusting the settings:


 

0

Please sign in to leave a comment.