How do I reduce “uses” boilerplate for new forms?

后端 未结 4 683
梦毁少年i
梦毁少年i 2021-01-11 16:31

Every time I add a new form to my project, it drops a big glop of boilerplate in the uses clause.

uses
  Windows, Messages, SysUtils, Variants, Classes, Grap         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-11 17:03

    The according resource is located in $(BDS)\bin\delphivclide*.bpl and named "VCLIDECMD"; you can extract, edit and update it with the resource editor of your choice (I recommend the one included in Pelles C).

    For C++Builder users, the template file is "CPPVCLIDECMD" in bcbvclide*.bpl.

    If you are using a localized version of RAD Studio, look at the appropriate language resource files (*.DE, *.FR or *.JA).

提交回复
热议问题