ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Vim Code Completion Problem

asked 2011-04-06 20:02:35 -0600

alfa_80 gravatar image

updated 2011-04-06 23:33:29 -0600


For about 3 weeks, I have been tweaking my vim to get it running for the code completion. The strange thing is that if I write a non ROS-related code, it just works, but when I write a ROS-related one, it does not work (including non ROS-related line, say I type std::), it won't complete any..

I really need this vim to have this code completion working..Hope any Vim experts out there can guide me on this..Thanks in advance.

EDIT: I've observed one thing in non ROS-related code, if it is still not working if I type std::, but it is working if I type rect. (will be autocompleted with some members in the class). I think if I can resolve with "::" in non ROS-related code, it will also work in ROS-related code..hopefully.

I've also tried to follow one tutorial to reinstall my code completion. At the bottom of the tutorial, there is a test to try to type "std::" in .cpp file. I'm even not able to have it worked.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-04-06 20:49:30 -0600

updated 2011-04-06 20:49:51 -0600

I found this yesterday: and Maybe these work for you.

edit flag offensive delete link more


I'm not so sure about using gccsense for ROS-related code, how to configure our .vimrc?
alfa_80 gravatar image alfa_80  ( 2011-04-06 21:31:00 -0600 )edit
I don't know, I didn't try these out.
Felix Endres gravatar image Felix Endres  ( 2011-04-07 02:25:44 -0600 )edit

Question Tools

1 follower


Asked: 2011-04-06 20:02:35 -0600

Seen: 308 times

Last updated: Apr 06 '11