Skip to content

Add an Option for "Auto-insert // for additional non-dartdoc comment lines" Feature #3248

@justinStratis

Description

@justinStratis

Thanks for a great extension.

Is your feature request related to a problem? Please describe.
This is related to issue #3203, which added the feature of automatic insertion of // on the next line when Enter is pressed on a //-commented line.

This breaks my expectations of how the editor should work and, AFAIK, isn't consistent with other languages. IMO, /// or /* */ differ from // in the context of pressing Enter. With the former, I'm in the mode of writing documentation (or at least larger) comments. In contrast, with //, I'm usually writing a single-line comment or I've just commented out a block of code. In either case, automatically adding // is undesirable and unexpected.

Describe the solution you'd like
An option to control this newly-added feature; preferably, disabled by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions