eclipse cpp ros style formatter
1.Click "Preferences->C/C++ -> Code Style -> Formatter".
2.Click "Import...", then selet the file "eclipse-cpp-ros-style.xml",
3.Click "OK" to import the profile.
You should select the code and then use the quick keyboard "Ctrl+Shift+F" to format the code. Enjoy it!