How to get warnings about unused imports ?

Gabi galim120 at bezeqint.net
Wed Jul 3 01:27:06 PDT 2013


On Wednesday, 3 July 2013 at 06:12:46 UTC, Namespace wrote:
> On Tuesday, 2 July 2013 at 21:49:37 UTC, Gabi wrote:
>> Hi,
>>
>> How to find unused imports ?
>>
>> It seems the compiler doesn't do it, but is there any other 
>> tool for that?
>> This seems like small issue, but those unused imports pile up 
>> pretty quickly
>>
>> Regards,
>> Gabi
>
> I'm working on something like that for a few days. It is still 
> not completely finished, but it works so far. But currently 
> only for named imports. Everything else was far too much work 
> for me.
>
> https://github.com/Dgame/SimpleDAT

This is great. Maybe point me to the right direction how to 
implement finding unnamed imports too ? It could be great 
exercise for me to learn D :)


More information about the Digitalmars-d-learn mailing list