vim-rtags icon indicating copy to clipboard operation
vim-rtags copied to clipboard

Is there a way to list all symbols in the currently open file?

Open YaLTeR opened this issue 8 years ago • 5 comments

Let's say I have a .cpp file open, is there a way to get a list of all, for example, functions in the file?

YaLTeR avatar Jan 17 '17 13:01 YaLTeR

Currently I don't see how to accomplish this with rtags. The closest we can get to is by doing: rc -S <class_name_defined in your current file> optionally combining with --kind-filter FunctionDecl. I don't know how to tell rtags to return results for current file only.

lyuts avatar Apr 23 '17 22:04 lyuts

It seems that filtering can be done with --path-filter :)

dawagner avatar Jun 21 '17 15:06 dawagner

@YaLTeR you could try https://github.com/majutsushi/tagbar, it's pretty nice

kenny1847 avatar Oct 03 '17 11:10 kenny1847

That one's for ctags though.

YaLTeR avatar Oct 03 '17 11:10 YaLTeR

If someone make rtags version of tagbar, is it beneficial?

ghost avatar Sep 11 '18 07:09 ghost