JetBrains / Grammar-Kit

Grammar files support & parser/PSI generation for IntelliJ IDEA
Other
704 stars 126 forks source link

Do not generate unused imports #338

Open ris58h opened 1 year ago

ris58h commented 1 year ago

Every generated psi element has the imports below:

import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;

Sometimes they are not necessary and IDEA shows me Unused import statement warning.