c3c icon indicating copy to clipboard operation
c3c copied to clipboard

New command for formatting sources

Open data-man opened this issue 3 years ago • 4 comments

c3c format <file1> [<file2> ...] - format files. or c3c format - format files in the current project.

data-man avatar Oct 06 '22 02:10 data-man

Format according to what spec?

lerno avatar Oct 06 '22 06:10 lerno

Some good spec. :)

data-man avatar Oct 06 '22 08:10 data-man

So you just want that enabled for some later implementation?

lerno avatar Oct 20 '22 11:10 lerno

Coming from languages where this is common nowadays, this would be nice :).

Maybe starting small with:

  • identation
  • curly braces positioning

pierrec avatar Jun 18 '23 10:06 pierrec