Intellij does not trigger custom ArchiveFileSystem


I tried implementing ArchiveFileSystem, but it is never triggered by the system.

The goal is to be able to work with files from the same way as with .jar dependencies.

Here's the dummy plugin project with dummy AbcFileSystem

Here's test project which contains as a dependency

What I need to change to make IDE to trigger AbcFileSystem and to ask for files in archive? Is it a bug?

(this post is a follow-up to

Comment actions Permalink

1) do not use 'object' in, but 'class' -- see

It seems you have not registered '.abc' extension + provided custom FileType implementation yet (see com.intellij.ide.highlighter.ArchiveFileType as reference)

Comment actions Permalink

As suggested I

  • Added AbcFileSystem extending ArchiveFileSystem and registered it (overriden isCorrectFileType method)
  • Added AbcFileType and registered it
  • Made both AbcFileSystem and AbcFileType classed (not Kotlin objects)
  • Added AbcFileTypeOverrider and registered it (JIC, because the majority of examoles for FileType are for LanguageFileType, and I was not sure if it will work)

It did not resolve the issue. FileSystem is never triggered. Anything else I need to implement to tell IntelliJ to start indexing `` archive for files?


Comment actions Permalink

Not sure if anyone will follow-up on this question (since it is marked "answered"). Posted a new one here:


Please sign in to leave a comment.