Skip to content

Function of shortcut key of block comment in c/c++ not strong enough #251277

Open
@y0sh1ne

Description

@y0sh1ne

In c/c++, lots of block comments appear in following style:

/* *
 * Definition for singly-linked list.
 * int function(int x){
 *     ...
 * }
 */

When we want to cancel this /* block comment */, we use Shift+Alt+A. Usually, the expacted result is:

Definition for singly-linked list.
int function(int x){
    ...
}

or, at least (one * is ignored):

*
Definition for singly-linked list.
int function(int x){
    ...
}

but, in fact, what we get is:

*
 * Definition for singly-linked list.
 * int function(int x){
 *     ...
 * }

So, I think this feature needs to be enhanced. ❤️

Metadata

Metadata

Assignees

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