comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: How to check code indentation?
Date: Tue, 26 Sep 2017 20:23:18 -0700 (PDT)
Date: 2017-09-26T20:23:18-07:00	[thread overview]
Message-ID: <ec2800cd-e5b5-47f2-82a8-8fcef8c23a74@googlegroups.com> (raw)
In-Reply-To: <oqc2ac$1492$1@gioia.aioe.org>

On Monday, September 25, 2017 at 6:09:05 PM UTC-5, Victor Porton wrote:
> gautier_niouzes@hotmail.com wrote:
> 
> >> Is there any free tool to check (or even better automatically correct)
> >> Ada (preferably Ada2012) indentation?
> > 
> > There are reformatters, like:
> >   - ICCFMT: http://www.irvine.com/freebies.html
> 
> I need Ada2012 support. It does not.
> 
> >   - the reformatter tool in AdaGIDE: https://sf.net/projects/adagide
> 
> It is for Windows. I am a Linux user.
> 
> > ...and probably others.
> > If you want to check the before vs. after states to be sure nothing got
> > lost on the way, the Normalize tool can be helpful:
> >     http://adalog.fr/en/components.html#Normalize
> 
> It doesn't help in my task.
> 
> -- 
> Victor Porton - http://portonvictor.org

Emacs Ada mode does indentation, with full Ada 2012 support.

With a little elisp programming, you can use it for both test and fix.

The simplest way to test is to save the file to a different name, indent, and diff.


  reply	other threads:[~2017-09-27  3:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 21:08 How to check code indentation? Victor Porton
2017-09-25 22:35 ` gautier_niouzes
2017-09-25 23:08   ` Victor Porton
2017-09-27  3:23     ` Stephen Leake [this message]
2017-09-25 23:10 ` Victor Porton
2017-09-25 23:43   ` Anh Vo
2017-09-25 23:59     ` Victor Porton
2017-09-26  0:00       ` Victor Porton
2017-09-27  4:07 ` Per Sandberg
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox