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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx19.fr7.POSTED!not-for-mail Subject: Re: How to check code indentation? Newsgroups: comp.lang.ada References: From: Per Sandberg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenet.se NNTP-Posting-Date: Wed, 27 Sep 2017 04:07:48 UTC Organization: usenet.se Date: Wed, 27 Sep 2017 06:07:48 +0200 X-Received-Bytes: 1554 X-Received-Body-CRC: 881239560 X-Original-Bytes: 1503 Xref: news.eternal-september.org comp.lang.ada:48236 Date: 2017-09-27T06:07:48+02:00 List-Id: Use GPS with the plugin Autoformat enable then the file will be formatted every time its saved to disk. /P Den 2017-09-25 kl. 23:08, skrev Victor Porton: > I have a source code where some declarations or statements are indented > wrongly. An example: > > function raptor_namespaces_find_namespace (Stack: Namespace_Stack_Handle; > Prefix: chars_ptr; > Len: int) > return Namespace_Handle > with Import, Convention=>C; > > ("Prefix" is not below "Stack" but two spaces are extraneous.) > > I use -gnaty3 but weirdly GNAT 7.2.0 does not detect this error. > > Is there any free tool to check (or even better automatically correct) Ada > (preferably Ada2012) indentation? >