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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1749c827f1c443a5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!x21g2000yqa.googlegroups.com!not-for-mail From: Britt Snodgrass Newsgroups: comp.lang.ada Subject: Re: gnat-gps indentation Date: Thu, 8 Jul 2010 18:49:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <96610638-01e6-4578-b3b6-407aab07a7ef@x21g2000yqa.googlegroups.com> References: <365fc76a-19a5-468c-8725-997237ce6f9d@z8g2000yqz.googlegroups.com> NNTP-Posting-Host: 209.252.170.138 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1278640184 25116 127.0.0.1 (9 Jul 2010 01:49:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Jul 2010 01:49:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x21g2000yqa.googlegroups.com; posting-host=209.252.170.138; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12275 Date: 2010-07-08T18:49:44-07:00 List-Id: On Jul 8, 4:27=A0am, tonyg wrote: > > I think I twisted the english language a bit when I said 'correctly > indent' when I should of said 'correctly format'. I asked because I've > been using gnat-gps for the first time to do an ada project moving > from gedit and vi. I'd recommend you also try using the ASIS based "gnatpp" pretty- printer. It's very configurable (using a Pretty_Printer package in the GNAT Project file) and is what you probably want to use once the your code is complete and correct enough to compile. You can invoke it from GPS's Edit menu. The formatting options are described in the GNAT Users Guide. - Britt