For all OTA gurus out there:
For all OTA gurus out there:
Is there an OTA functionality which allows me to add a unit name to the uses clause (either in the interface or in the implemenation section)?
I am thinking of something like it can be seen in the "Find Unit" refactoring.
Is there an OTA functionality which allows me to add a unit name to the uses clause (either in the interface or in the implemenation section)?
I am thinking of something like it can be seen in the "Find Unit" refactoring.
No, the OTA does not provide such functionality. The internal API has TPascalCodeUpdater for that, but I am not going to expand on that.
ReplyDeleteUwe Schuster
ReplyDeleteWell I realize that a presumably easy task is not going to be easily implemented. And no, I am not going to hack into the delphicoreide.
Uwe Schuster
ReplyDeleteTPascalCodeUpdater.ImportUnit(Name: string) ?