Skip to content

Type documentation includes comments that aren't related #307

@dgellow

Description

@dgellow

Hi there,

First let me thank you for this plugin, I just started learning about D and it is working almost perfectly with zero config!

While copy pasting some examples I found out a small issue in the documentation available when hovering a type or a function: in addition to the object doc comment, the documentation also includes any comment block present before it.

Example with Throwable

I'm hovering Throwable , the documentation contains a bunch of ////////, taking two lines of vertical space.

image

Looking at Throwable definition we can see that there is a bunch of decorative comments.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions