mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-12 19:06:35 +07:00
IDEA-83774 Completion for anonymous class is incorrectly aligned when class is not accessible in the scope
This commit is contained in:
@@ -747,6 +747,7 @@ public class JavaCompletionUtil {
|
||||
final String qName = psiClass.getQualifiedName();
|
||||
if (qName != null) {
|
||||
document.replaceString(newElement.getTextRange().getStartOffset(), newEndOffset, qName);
|
||||
newEndOffset = newElement.getTextRange().getStartOffset() + qName.length();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user