problem in import com.intellij.openapi

Hello,
I made the right import of com.intellij.openapi but I have always errors and the compiler does not know the imported classes I used. Example :


import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.impl.ApplicationImpl;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.openapi.fileEditor.FileDocumentManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFileManager;
import com.intellij.psi.*;
import com.intellij.psi.impl.JavaFactoryProvider;
import com.intellij.refactoring.JavaRefactoringFactory;



When I make the cursor up to JavaRefactoringFactory for example I see the follwing message "can not resolve the symbol ...". Is someone has an idea about this problem ?

2 comments
Comment actions Permalink

Please make sure you setup a proper plugin JDK, see instructions here: http://www.jetbrains.org/display/IJOS/Writing+Plug-ins

0
Comment actions Permalink

Thanks a lot, it works now


0

Please sign in to leave a comment.