My question and How to register a psi file created in memory into a project module? Similar, But I couldn’t find the answer , Can anyone help me,
I will use the following code to create a Java code editor
EditorFactory editorFactory = EditorFactory.getInstance();
editor = editorFactory.createEditor(document, project, JavaFileType.INSTANCE, false);
I am writing custom code that requires the use of classes outside of the project. I want this editor to recognize additional PsiClasses. How should I register PsiClasses