How Can I Modify Style of Variable Names Suggestions?

已回答

CLion usually suggests names of class fields as fooBar. How can I change the CLion settings to provide me with the following format of suggestions: foo_bar

 

I looked into the documentation, I found that it is possible to automatically format the code in accordance with the well-established style guides. But even in this case, CLion suggests the field names as fooBar.

0

Hello! We have a feature request in our tracker: https://youtrack.jetbrains.com/issue/CPP-4393. Feel free to comment or upvote in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

0
Avatar
Permanently deleted user

Preferences/Editor/CodeStyle/C++, header/source -> File Name Convention
Is this what you're looking for?

0

请先登录再写评论。