Skip to content

Custom Templates #99

Description

@DaveyJake

Is your feature request related to a problem? Please describe.
Not necessarily a problem, just more of a nuisance regarding (1) spacing before and after certain tags and/or groups of tags, and (2) not being able to dynamically include a @return tag when found above a function or method that contains a return statement.

Describe the solution you'd like
Users need the ability to design their own custom docblock templates from settings.json using the same pre-defined variables for spacing as found within the extension.

Describe alternatives you've considered
I tried using autodocblocker but the nunjucks integration for custom templates isn't as clear as it could or should be.

Additional context
My coding style was heavily modeled after WordPress's published coding standards for PHP and JavaScript. I have been searching for an extension the last few years that can mimic their documentation standards as closely as possible while still having just enough flexibility for users to incorporate templates that reflect their style. The reason I use VS DocBlockr is because it's the only extension that comes closest to programmatically mimicking the WordPress JavaScript Documentation Standards.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions