Skip to content

Possible to get command-/ comments to use // in javascript functions #19

@hippietrail

Description

@hippietrail

In my project most of the functions in the justfile are shell scripts but a couple are nodejs scripts.

When using command-/ to toggle a line comment, it always uses # but it would be nice if it could use // when inside javascript so scripts can be copypasted between the justfile and a .js file while working on them.

The actual syntax highlighting of the js functions looks right, not sure if by design or fluke.

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