Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>A bit of background may be helpful here. While the style checks hold out a lot of promise for enforcing user style guidelines, that isn't exactly what they are for.</p> <p>The main purpose of those checks is to enforce <a href="http://www.adacore.com/home/" rel="nofollow">Ada Core</a>'s (The folks who maintain the compiler) style on the sources of the Ada compiler itself. You may notice that the checks get automatically turned on if you try compiling one of the compiler's own source files.</p> <p>It doesn't really serve AdaCore's purposes at all if the styles enforced by the checks themselves are user-configurable, so they added no feature like that.</p> <p>Your first option if you want to use it yourself is to just stick to AdaCore's coding style. I haven't found it horrible in the past, so you may just look at doing that.</p> <p>Still, making some kind of configurability would be a really cool feature for somebody to add. If you go this route, you probably would have to make it configurable (with the current behavior as the default), rather than just changing the checks. The reason is that you'd have to modify the compiler sources to accomplish this, and as I mentioned above, the compiler turns the checks on when compiling itself. You <em>really</em> don't want to have to reformat a ton of working Gnat compiler source files.</p> <p>I'd really like to see someone do this at some point, as it would make the checks much more useful to those of us who work for someone besides AdaCore.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload