Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

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

@dunpyl

Description

@dunpyl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions