I would guess that some people might have different formatting schemes and just want the indentation done, but that's not a very high priority for me personally. I just use the format tool, so it might make sense to only implement that in your software.
-- Knute Snortum On Fri, Jun 14, 2024 at 9:24 AM Paolo Prete <[email protected]> wrote: > I know this, but what is the concrete benefit of having both of them? > > Il ven 14 giu 2024, 17:00 Knute Snortum <[email protected]> ha scritto: > >> >> On Fri, Jun 14, 2024 at 4:57 AM Paolo Prete <[email protected]> wrote: >> >>> >>> About the automatic formatting, prior to adding it, I need advice from >>> you and other people from this ML as well. >>> From what I see, Frescobaldi has some options: like "re-indent" and >>> "format". What is the use of "re-indent" if "format" already indents the >>> code? >>> >> >> From what I can tell, "re-indent" only does formatting that involves >> indenting, while "format" completely reformats the code. To illustrate, >> say we have: >> >> { >> c''4 4 4 4} >> >> If we re-indent, it will look like this: >> >> { >> c''4 4 4 4} >> >> But if we format, it will look like this: >> >> { >> c''4 4 4 4 >> } >> >> >> -- >> Knute Snortum >> >> >>
