Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2025-12

begin end completion broken

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hi,

A recent change in codetools completion broke the begin..end.

Simple example:

procedure TMyClass.Something;
   procedure DoIt;
   begin
when you press enter, this is completed to
     procedure DoIt;
     begin
     end.

which is of course wrong.

There are many more cases, but the above is the simplest case I could find to reproduce it. The logic which causes this is not quite clear to me...

Michael.

Reply by email