sloganking / scfmt

A code formatter for structured comments
MIT License
0 stars 0 forks source link

convert to brackets #3

Closed sloganking closed 2 years ago

sloganking commented 2 years ago

A command should me made to automate turning the bracketless method of structured commenting

// this comment describes the next 3 lines
    int a = 2
    int b = 3
    int c = a + b

to the bracketed method of structured commenting

//> this comment describes the next 3 lines
    int a = 2
    int b = 3
    int c = a + b
//<
sloganking commented 2 years ago

Mostly completed by 8f3525e55ab18e0139867d46401e305191054e40. Still need to clean up the results by turning

//<
//>

into //<>. And moving comments for preferable vertical whitespace.