Tuesday, February 1, 2011

Ctrl-p to list only the members of a structure in C/C++ etc

Hi,
Does anyone have a good automation such that it provides a drop-down of members of a structure when I type

struct X {
int a,b,c;
};

X x;

With the automation, I should be able to type x. and it should list out a,b and c

Regards,
Kashyap

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment