Search code examples
intellij-ideaintellij-plugin

how to register for files of specific type in intellij plugin


I want to write an intellij plugin that needs to have a file viewer of certain type/s.

say I have a bunch of .abc files in my project at various locations. I need my plugin to show a tree view of all those .abc files keeping their hierarchy intact.

what is the api I should look at ?


Solution

  • Plugin repository can discover file types supported by a plugin and later IDE gets information about file types supported by different plugins. When you open a file of the file type supported by some plugin you get a notification in the IDE.