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?

 

0

com.jetbrains.php.roots.PhpNamespaceByFilesProvider#INSTANCE -> suggestNamespaces(PsiDirectory)

1

请先登录再写评论。