comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Ada++
Date: Sun, 31 May 2020 14:20:21 -0700 (PDT)
Date: 2020-05-31T14:20:21-07:00	[thread overview]
Message-ID: <84899a5d-341a-4d1b-9471-6961f30492c7@googlegroups.com> (raw)
In-Reply-To: <rb05fk$l5r$1@dont-email.me>

On Sunday, May 31, 2020 at 1:47:02 PM UTC+2, björn lundin wrote:
> Den 2020-05-30 kl. 08:52, skrev gautier_niouzes@hotmail.com:
> > On Saturday, May 30, 2020 at 3:32:54 AM UTC+2, Rick Newbie wrote:
> > 
> >> Gnat Studio is OK but lacks a lot of editing features that VS provides,
> > There is clearly a potential there :-).
> 
> > I mostly miss: code indent/dedent, 
> I do that with pretty print. select something (or all with ctrl-a) and 
> hit Tab

If you are happy with the reformatting, fair enough.
But sometimes the result is... funny. You can try with GNAT's own files (a-textio.ads to begin with).

> a "comment block" that is smarter than inserting "--" at the begin of 
> each line,
> what do you mean? '--' is the only way to comment stuff in Ada,

Sure, but the "--" doesn't need to be at the very beginning of the line.
However the latest GNAT Studio does take indentation into account for commenting - that's good news!

> multiline edit.
> shift+alt and arrow up/down to get a multiline cursor, then start writing?

That's cool, but as you say...

> Ok, I like Scintilla's version better, and I guess that is what LEA has

Yep. Especially the multiline cursor is vertical if you want it to be so (like Alt + draw the mouse up/down), even through lines that would be too short otherwise. An example: if I do, with GPS, Shift + Alt + down arrow 5 times from the point marked with a '*' on this:

    case Composite_Data_Opcode (ND.IR.F) is
      when k_Array_Index_Element_Size_1*
      when k_Array_Index
      when k_Record_Field_Offset
      when k_Load_Block
      when k_Copy_Block
      when k_String_Literal_Assignment
    end case;

and type " => ", I get:

    case Composite_Data_Opcode (ND.IR.F) is
      when k_Array_Index_Element_Size_1 => 
      when k_Array_Index => 
      when k_Record_Fiel => d_Offset
      when k_Load_Block => 
      when k_Copy_Block => 
      when k_String_Lit => eral_Assignment
    end case;

Ouch...

  parent reply	other threads:[~2020-05-31 21:20 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 22:33 Ada++ Jerry
2020-05-29  2:09 ` Ada++ Nasser M. Abbasi
2020-05-29  2:57   ` Ada++ Rick Newbie
2020-05-29  9:49     ` Ada++ raph.amiard
2020-05-29  9:51     ` Ada++ gautier_niouzes
2020-05-30  1:32       ` Ada++ Rick Newbie
2020-05-30  6:52         ` Ada++ gautier_niouzes
2020-05-30  7:04           ` Ada++ Rick Newbie
2020-05-30  7:31           ` Ada++ Dmitry A. Kazakov
     [not found]           ` <rb05fk$l5r$1@dont-email.me>
2020-05-31 21:20             ` gautier_niouzes [this message]
2020-05-29 10:36     ` Ada++ Luke A. Guest
2020-05-30  1:35       ` Ada++ Rick Newbie
2020-05-29 11:09     ` Ada++ Björn Lundin
2020-05-29 12:31       ` Ada++ Nasser M. Abbasi
2020-05-29 21:57       ` Ada++ Optikos
2020-05-31 11:40         ` Ada++ Björn Lundin
2020-05-31 15:51           ` Ada++ J-P. Rosen
2020-05-30  1:36       ` Ada++ Rick Newbie
2020-05-29  3:45 ` Ada++ Optikos
2020-05-29 15:41   ` Ada++ Optikos
2020-05-29  3:54 ` Ada++ cantanima.perry
2020-05-29 10:41   ` Ada++ Luke A. Guest
2020-05-29  4:17 ` Ada++ Wesley Pan
2020-05-29  4:38   ` Ada++ Nasser M. Abbasi
2020-05-29  6:06     ` Ada++ J-P. Rosen
2020-05-29  6:56       ` Ada++ Dmitry A. Kazakov
2020-05-29  7:22         ` Ada++ J-P. Rosen
2020-05-29  9:23       ` Ada++ fabien.chouteau
2020-05-29  9:43         ` Ada++ raph.amiard
2020-05-29 10:27           ` Ada++ Jeffrey R. Carter
2020-05-29 11:00             ` Ada++ Dmitry A. Kazakov
2020-05-29 20:57           ` Ada++ J-P. Rosen
2020-06-13  9:40       ` Ada++ Nasser M. Abbasi
2020-06-13 10:03         ` Ada++ gautier_niouzes
2020-06-13 10:11           ` Ada++ Nasser M. Abbasi
2020-06-13 10:07         ` Ada++ Dmitry A. Kazakov
2020-06-14  5:29         ` Ada++ J-P. Rosen
2020-05-30 15:25 ` Ada++ ric.wai88
2020-05-30 17:02   ` Ada++ Stéphane Rivière
2020-05-30 20:56   ` Ada++ Optikos
2020-05-30 21:58     ` Ada++ ric.wai88
2020-06-05 22:37       ` Ada++ Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2004-10-22 13:22 Ada# fabio de francesco
2004-10-22 13:36 ` Ada# Marc A. Criley
     [not found] <200203220829.JAA11725@bulgaria.otn.eurocopter.de>
2002-03-22 15:55 ` Ada? sk
2002-03-22  8:29 Ada? Christoph Grein
2002-03-22 14:57 ` Ada? Ted Dennison
2002-03-22 15:34   ` Ada? Jean-Pierre Rosen
     [not found] <200203220654.HAA11171@bulgaria.otn.eurocopter.de>
2002-03-22  7:58 ` Ada? sk
     [not found] ` <3C9AE426.471865A1@myob.com>
2002-03-22  8:05   ` Ada? sk
2002-03-22  6:54 Ada? Christoph Grein
2002-02-19 21:21 Ada? anymous
2002-02-19 22:02 ` Ada? chris.danx
2002-02-19 23:38 ` Ada? Larry Kilgallen
2002-02-24  3:23 ` Ada? Nick Roberts
2002-02-24 15:09   ` Ada? Georg Bauhaus
2002-02-27 15:26   ` Ada? Enrico A.
2002-03-19 15:06     ` Ada? Colin Paul Gloster
2002-03-19 20:57       ` Ada? Ted Dennison
2002-03-19 22:00         ` Ada? Dan Andreatta
2002-03-19 23:45           ` Ada? Larry Kilgallen
2002-03-20 14:26           ` Ada? Ted Dennison
     [not found]             ` <3C98E9CC.45D733F2@west.raytheon.com>
2002-03-21  9:39               ` Ada? Preben Randhol
2002-03-20  2:08         ` Ada? Adrian Hoe
2002-03-20 17:39           ` Ada? Marin David Condic
2002-03-22  1:56             ` Ada? Adrian Hoe
2002-03-22  2:34               ` Ada? Richard Riehle
2002-03-20  1:41     ` Ada? Adrian Hoe
2002-03-20  2:34       ` Ada? DPH
2002-03-20 10:52       ` Ada? Reinert Korsnes
2002-03-20 13:32       ` Ada? Gary Scott
2002-02-27 21:37 ` Ada? Ken Pinard
replies disabled

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