I am trying to use the JS example plugin as an example for a different, but java-like language. I am having trouble finding out what I need to implement to at least get started and see something working - ie. the bare minimum so I can see my new file type, etc.
Anyway, one specific question I have at the moment is in the JS plugin, the JSFile extends PSFileBase and implements PsiElement(JSElement) - but it seems to be broken both in the implementation and in the fact that the method that uses it, createFile from ParserDefinition, requires PsiFile, not PsiFileBase. PsiFile requires dozens of methods to be implemented, and so far, I can't see what is absolutely necessary. Has the API changed, or am I not understanding something?
I appreciate any help!