Don't add new unit to base program file lazarus / 9-Editor ---------------------------------------------------------------------- Eugene Loza · 2016-10-22 08:49 Hi all! I couldn't find an option to turn-off automatic addition of a new unit to USES section in main program file. I.e. I use: launcher.lpr mainunit.pas -> launcher.lpr (a relatively complex tree of many different units) -> mainunit And I want to keep launcher as clean as possible. But every time I create a new unit I have to manually remove it from the launcher... (I've looked through the forum and saw people were asking for this feature since 2009, but I'd personally like to turn it off just for me ) ---------------------------------------------------------------------- Zoran · 2016-10-22 09:17 Main Menu -> Project -> Project Options... -> Miscellaneous -> Main unit has Uses section containing all units of project ---------------------------------------------------------------------- Eugene Loza · 2016-10-22 09:21 Thanks a lot!!!!! I was looking for this function in "Editor options"...