void (final String namespacePrefix) { PsiDocumentManager.getInstance(project).doPostponedOperationsAndUnblockDocument(document); final PsiElement element = file.findElementAt(context.getStartOffset()); if (element != null) { qualifyWithPrefix(namespacePrefix, element, document); PsiDocumentManager.getInstance(project).commitDocument(document); } editor.getCaretModel().moveToOffset(caretMarker.getEndOffset()); doDefault(context, item); }