A simple repositroy which is providing Clion IDE configurations for ROS C++ Style Guidelines
For importing the roscpp style to your IDE please follow Clion's official guidline and import the clion-ros-style.xml configuration file located in this repo.
After importing the configurations you can reformat your code using Ctrl+Alt+L shortcut key or from toolbar by clicking on Code | Reformat Code.