MaskRay / ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Apache License 2.0
3.73k stars 254 forks source link

Can not jump to implementation in ROS development environment #896

Open improve100 opened 2 years ago

improve100 commented 2 years ago

OS:ubuntu2004 ROS:noetic workspace structure: $ pwd /home/user/catkin_build/ $ ls build devel install logs src $ ls src common control

In src, I have some package(control) and common library(common). with compilation, the corresponding common header file can be generated in install directory, and then, i generated control package comile_commands.json. In the control package, I can jump to the common header file in install directory , but I can't jump to the implementation in src/common directory. Is there any way to achieve this function?