Skip to content

C/C++ files: sexy comment across //-style commented lines #296

@bartgol

Description

@bartgol

Currently, when I try to use the 'sexy' comment style on a piece of code like this


// My comment
some_code_here;

I end up with the following

/*
*// My comment
*some_code_here
*/

Which is not working, since *// closes the commented section. I was wondering if it's possible to insert a space after each * in the commented secion, so to avoid the formation of */ constructs, which for the compiler mean the end of the commented section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions