Has anyone written some utility that takes a complete stan code file and formats (or at least indents) it according to the guidelines? I have code with a lot of includes, because I want to use the same chunks in several models (and possibly at different levels of indentation). The final stan code is often difficult to read because I cannot indent the includes. According to https://mc-stan.org/docs/2_22/reference-manual/includes-section.html it is possible to add whitespace before includes but when I do it,
stanc does not find the file that is supposed to be included.