Skip to content

[FR] TCommentBlockOrInline #302

@huyz

Description

@huyz

In both JetBrains IDEs and VS Code, if we do a block comment, we get a combination of TCommentBlock or TCommentInline.

If multiple lines are selected, we end up with something similar to TCommentBlock:

/*
line 1
line 2
*/

But if only part of a line is selected, we end up with something similar to TCommentInline:

part /*of the*/ line

The behavior simply depends on the selection.

Could we have something like that in tcomment too? Right now, I use TCommentInline but if I select multiple lines, I end up with something like:

/* line 1 */
/* line 2 */

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