Skip to content

Add a command that cycles between no comment, double-slash, triple-slash #4255

@jamesderlin

Description

@jamesderlin

If I press Ctrl+/ (Toggle Line Comment) on a Dartdoc line, currently the line gets transformed from:

/// Dartdoc line

to:

/ Dartdoc line

Even though it'd be asymmetric with adding a comment, I think it'd be nice if uncommenting removed either // or ///. This would be particularly useful if I'm writing a Dartdoc comment, press Enter, which automatically adds /// to the next line, but don't actually want the next line to be a Dartdoc comment.

I'm using v3.52.1 of the Dart VS Code extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions