Am 04.05.2013 09:08, schrieb Jacques Menu:
> Hello,
> 
> I've seen various opinions expressed in this list as to how one should layout 
> Lily source code.
> 
> Has there been attempts yet to produce an automatic pretty-printer?

Hi,

as far as indentation and syntax highlighting is concerned, Frescobaldi
does a very good job.

If you are talking about code structure, so where to use variables and
whether to state things explicitly or not, I think this depends on the
size of your project. In the examples in the docs you will often find
the following ordering, which is a good decision for a wide range of
project sizes:
% version, header, paper, …
% variables for music and lyrics
% score structure

Cheers,
Joram

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to