Skip to content

Don't show end-of-line comments as comments #31

@pinksynth

Description

@pinksynth

Hello! Thanks for the awesome extension.

Per the attached issue (see below), dotenv does not support end-of-line comments, but this extension shows the comments as if they are not part of the value.

So the code looks like this:
image

This visually suggests that the value provided to the code is 5000, but the value is actually 3000 # 3 seconds.

Not sure how hard this would be to resolve—if it's not too complex I'd be happy to help by opening a PR.

Thanks!

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