Getting VirtualFile from nested archives URL


Hi! I'm trying to get VirtualFile (or PsiFile eventually) of class inside nested archives. Let's say we have a path like that:


Unfortunately using just VirtualFileManager#findFileByUrl won't do the job since it's not working with nested archives.

One of the ideas was to get a VirtualFile of path


which I can do using my simple custom AbcFileSystem and then somehow (here's the tricky part) try to get JarFileSystem from it and find SomeClass inside of it.

1 comment
Comment actions Permalink

Nested archives are not supported in VFS and there are currently no such plans either.


Please sign in to leave a comment.