vim-rtags
vim-rtags copied to clipboard
Printing the name of the function inside which the cursor is positioned.
Suppose I have the following code:
class Foo {
void bar() {
int qux = 7;
}
};
If the cursor is on the digit 7
, I'd like some function that when I run it, prints Foo::bar()
, i.e. the function I'm at, and the class it belongs to.
Is that possible with vim-rtags?
I found the feature Jump to parent
in the root README, however it does not seem to do anything when I run it.