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

Printing the name of the function inside which the cursor is positioned.

Open dunpyl opened this issue 6 years ago • 0 comments

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.

dunpyl avatar Jul 08 '18 22:07 dunpyl