[Lazarus] How to disable specific code generation feature
graeme at geldenhuys.co.uk
Mon Oct 1 17:37:22 CEST 2012
I'm getting increasingly frustrated with Lazarus IDE again. It is
generating rubbish code, especially since I use TAB character
indentation, and not 2-Space indentation.
Anyway, how do I disable the code completion (or whatever you call it),
after I press the ENTER key after I typed "begin".
As you can see from the attached screenshot....
1) The "end;" was generated at the completely wrong indentation level.
This happens the whole time, so I would like to disable this code
generation thingy, but where???? I looked everywhere in the editor
settings and Code Templates. What is it called, and where do I disable it?
2) The "finally" code was correctly indented, but after Lazarus inserted
the "end;" code it decided for good measure to screw with my surrounding
code too! Arghhhhhh!
The joys of editors trying to be too clever!
I assume if I can disable (1), then (2) should not happen any more.
Any tips on how to disable (1)?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8064 bytes
Desc: not available
More information about the Lazarus