Is there a tool to organize imports/using statements?


I have bunch of modules which uses
using …SomeOtherModule

however I want to transform them into
using …SomeOtherModule: f1,f2

which shows exactly which functions and fields are being used from that particular module?
and also which using statements are not necessary?
Is there a tool which does that automatically?


1 Like

Not that I am aware of.

For packages, I usually go with explicit using lists from the beginning. When porting existing code, I just list the usual suspects and let CI failures tell me what I missed.