Default namespace based on cmake project?
Hi,
So I've got several CMake projects within one 'solution' folder, each with their own namespaces. Adding correct namespace each time i create a new class within any of these projects is a little tedious. Is there a trick to have it done for me?
In Qt Creator, I could type 'mynamespace::MyClass' as class name to get an empty class 'MyClass' within 'mynamespace' namespace.
As a workaround up until now, I've changed my code template creation to always insert an empty namespace when creating a source or header file. I still have to add the correct namespace name, though.
请先登录再写评论。
Hi Halvor.
It is not implemented yet, we have related issue in our tracker. Feel free to comment or upvote.
Thank you. I placed my vote!