I'm fairly new to IDEA plugindevelopment, so I'm probably doing something very basic wrong here.
I am trying to implement a CompletionContributor that adds some extra completion results for certain custom CSS declarations.
In my CompletionContributor I'm using the interface com.intellij.psi.css.CssDeclaration (I'm casting the current PsiElement).
So, my problem is that this compiles fine, but @runtime, when my CompletionContributor gets invoked I get a
java.lang.ClassNotFoundException: com.intellij.psi.css.CssDeclaration error.
Frankly, I have no idea what I'm doing wrong, I'm hoping someone here can enlighten me.
Thanks very much in advance!
P.S. I'm using IntelliJ IDEA 12.1 Ultimate