[Lazarus] Adding unit automatically adds to uses clause

Timothy Groves the.tail.kinker at gmail.com
Sat Mar 26 18:00:41 CET 2022

Good day.  When I click on "New Pascal Unit" on the toolbar, or select 
it from the menu, the new unit is automatically added to the uses clause 
of my main program.  Worse, the new unit is invariably added as "unit1", 
even after I change the name of the unit.  I cannot seem to find a way 
to suppress this behaviour. Can anyone tell me how to stop Lazarus from 
doing this?

More information about the lazarus mailing list