Recent

Author Topic: Autocompletion adding "end"  (Read 1758 times)

wp

  • Hero Member
  • *****
  • Posts: 11923
Autocompletion adding "end"
« on: September 22, 2014, 01:32:47 pm »
I don't know when this feature was introduced, I've been seeing it for some time, but I am getting more and more annoyed by it:

The problem is that when editing somewhere in a begin/end block, usually when comments are involved, the IDE often adds an "end". As a consequence the source no longer compiles because of that additional "end". Then I have to find that "end" and delete it hoping not to remove a correct one which would destroy the logic of the procedure...

I tried to work out a small demo, but I did not find out the exact conditions when this occurs.

My question: How can I turn off this feature?

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Autocompletion adding "end"
« Reply #1 on: September 22, 2014, 01:41:27 pm »
Tools -> Options -> (node) Completion and Hints -> (checkbox) Add close statement for Pascal blocks
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Autocompletion adding "end"
« Reply #2 on: September 22, 2014, 01:55:10 pm »
Ah - I've been in this dialog several times, but I would never have imagined that this is what I am looking for.

 

TinyPortal © 2005-2018