I guess adding the set(CMAKE_EXPORT_COMPILE_COMMANDS ON) (or something similar) in catkin's entry point, CMakeLists.txt, would not disturb anybody but it is useful for Vim's YouCompleteMe plugin. On Ubuntu, the entry point for catkin is a symlink to /opt/ros/indigo/share/catkin/cmake...