Getting PHP namespace from VirtualDirectory
Answered
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?

Please sign in to leave a comment.
com.jetbrains.php.roots.PhpNamespaceByFilesProvider#INSTANCE -> suggestNamespaces(PsiDirectory)