Skip to content

Support mid-line Enter #1

@tmcw

Description

@tmcw

In this situation

/**
 * Comment
 * Something <cursor> something else
 */

It'd be nice for Enter to produce:

/**
 * Comment
 * Something
 * something else
 */

This should handle all of the properties of our existing continue system - it'll preserve surrounding indentation, so if this comment inside of a function so it's indented 2 or 4 spaces, it should preserve that. Plus, we may want to truncate the whitespace at the end of the line? That's optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions