Hi Kenston,
There aren't currently plans to add a beautifier library. In the
RText editor which uses RSTA, there will be a beautifier plug-in in the next release, though it will likely only handle HTML/XML via
JTidy, a Java port of HTMLTidy.
Do you know of high-quality beautifiers for other languages? Preferably (though not required to be) written in Java for in-process integration? There are a few for Java, but it appears that many are no longer maintained and don't handle Java 5 syntax properly. One project that looks promising for Java is
JIndent, but unfortunately I could not ship the library with RText (or an RSTA add-on), judging from the license - I would require the user to download it themselves and drop it into a certain location for the add-on to pick up.
Any ideas or suggestions?