Organise import with fully qualified using directive?

In my implementation code I like to use explicit variable names. They require a fair bit of space, which I tend to achieve by factoring methods out (thanks, CLion) and organising imports (thanks, CLion).

However, I would love to have fully qualified using directives automatically generated.

That is, instead of

using namespace llvm;

I would like to have

using llvm::Function;

using llvm::CallSite;

using ...

This is standard in the Java world, and Eclipse's CDT can do that as well.
Any chance to get this? It would make my CLion roar even louder.

0
1 comment

Hello! Do you mean that you want to have a quick-fix which will insert necessary "using" statements in a fully qualified form? Or do you want to have a refactoring which changes "using namespace llvm;" into "using llvm::Functionusing llvm::CallSite; ..."?

0

Please sign in to leave a comment.