Skip to content

last_modified_by not updating if not in a separate line #67

@cfranc0

Description

@cfranc0

Hello!

I've been using this packet for quite some time and something has been bugging me lately.
Usually I edit the template for the header and I've always wanted to make it more compact than the default one.
This is what I've been working with lately

/**
 *  @Filename: {{filename}}
 *   @Project: {{project_name}}
 *   @Created: {{create_time}} by {{author}} : {{email}}
 * @Last edit: {{last_modified_time}} by {{last_modified_by}}
 *   @License: {{license}}
 * @Copyright: {{copyright}}
 */

Some options are currently disabled so not every line is shown, regardless this is the result:

/**
 *   @Created: 2021-03-18T21:04:56+01:00 by francesco : me@email.com
 * @Last edit: 2021-03-19T21:54:42+01:00 by {{last_modified_by}}
 */

The last_modified_by is only updated when the line is by itself. Even if the order is inverted * @Last edit: {{last_modified_by}} by 2021-03-19T21:56:04+01:00

Thank you for your help!

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