From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19b6efa2ecebaed0 X-Google-Attributes: gid103376,public From: "John G. Volan" Subject: Re: Ada95 Pretty-Printers Date: 1997/06/10 Message-ID: <339D7FCA.2B11@sprintmail.com>#1/1 X-Deja-AN: 247488089 References: <339C58A6.4D5A@sprintmail.com> <199706101259.OAA17279@basement.replay.com> Reply-To: johnvolan@sprintmail.com Newsgroups: comp.lang.ada Date: 1997-06-10T00:00:00+00:00 List-Id: Anonymous wrote: > > As I recall, Apex has a "switches" file that tells it what to do about a > lot of things. Last time I used it, we had to modify switches to link in > some bindings we used. Some of the switches control reformatting; I > think there's one that turns reformatting on or off completely. So, > perhaps you could RTFM or contact your Rational rep and be able to get > Apex to be less intrusive. Good luck. We tried that. The switches in Apex are very limited, they do not give you very much control at all. For instance, you can set the number of spaces per indent and the typecase for reserved words and identifiers, and you can force it to put params on separate lines (but only when they don't all fit on one line), but you can't make it line up parameters and reserved words on the left if it doesn't already feel like doing that. We've talked with our Rational reps and come up dry. The most they've been able to come up with was a little post-processing script that could take an acronym list and turn all the embedded acronyms in our identifiers from initial-caps to all-caps. But that's just lexical stuff, not the syntactic layout control we'd like to have. ------------------------------------------------------------------------ Internet.Usenet.Put_Signature (Name => "John G. Volan", Employer => "Texas Instruments Advanced C3I Systems, San Jose, CA", Work_Email => "johnv@ti.com", Home_Email => "johnvolan@sprintmail.com", Slogan => "Ada95: World's *FIRST* International-Standard OOPL", Disclaimer => "My employer never defined these opinions, so using " & "them would be totally erroneous...or is that just " & "nondeterministic behavior now? :-) "); ------------------------------------------------------------------------