Skip to content

POD documentation for Moo "has" declarations not showing up in tool tips #177

@livefree75

Description

@livefree75

MRE:

package Foo;

use Moo;
use namespace::clean;

=head1 GETTERS AND SETTERS

=head2 foo

A very complicated property that I would want the user to see an explanation for.

=cut

has foo => ( is => 'ro' );

=head2 bar

Does bar-ish stuff.

=cut

sub bar {
    my $this = shift;
    # do bar-ish stuff
}

If I hover over "foo", I just see '(attribute) foo' in a tool tip.
If I hover over "bar", I see the formatted POD for it.

Is this desired behavior?

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