Reputation: 26969
In CLion, the default naming style for local variables is camelCase
. The C++ codebase that I'm working in has a convention of using snake_case
for this. Is there any way to change the naming style for categories of symbols (local variables, instance variables, etc.)?
I would expect such a setting to appear in Settings > Editor > Code Style > C/C++ > Code Generation, but no such luck.
Upvotes: 3
Views: 1175
Reputation: 26969
Settings > Editor > Code Style > C/C++ > Naming Convention
This is a new feature in CLion as of release 2019.1.
Upvotes: 3