I'm trying to create a plugin for intellij but am having trouble accessing PsiClass.
When i try to import com.intellij.psi.PsiClass;
, it cant resolve the symbol.
The solution here doesnt work for me as it refers to build.gradle but i only have build.gradle.kts in my plugin project.
Also adding <depends>com.intellij.modules.java</depends>
to the plugin.xml file gives a cannot resolve error.
Anyone know how to fix this?