String () { final VirtualFile vFile = getVirtualFile(); if (vFile == null) { return null; } Document doc = ReadAction.compute(() -> FileDocumentManager.getInstance().getDocument(vFile)); return doc == null ? null : doc.getText(); }