Getting PHP namespace from VirtualDirectory
已回答
Hey,
I want to create my own New -> XXX action. I want to prefill the namespace like the Create New PHP Class. But how can I get the namespace for a directory?

请先登录再写评论。
com.jetbrains.php.roots.PhpNamespaceByFilesProvider#INSTANCE -> suggestNamespaces(PsiDirectory)