Any tool to suggest unit reference automatically for Delphi 2010?

后端 未结 6 1651
星月不相逢
星月不相逢 2021-02-05 09:44

MS Visual Studio has a great feature: it automatically suggests the units to add in using clause when you typing the code with refrences to absent standard classes.

6条回答
  •  孤独总比滥情好
    2021-02-05 10:31

    The JCL includes the "Uses Wizard." It watches for compilation errors mentioning "Undeclared identifier," and when it sees one, it automatically adds the unit where that identifier is declared.

    The package JclUsesExpert.dpk is only available for certain Delphi versions. I don't know if that's because the plug-in doesn't work in later versions, or if someone merely neglected to copy the project into later versions' folders.

提交回复
热议问题