Best Practice to save a psifile?
已回答
Hello,
I have a PsiJavaFile and change something at it, and now I want to save or write to disk the changes.
How can I do this in a correct way?
regards
Chris
请先登录再写评论。
You can obtain Document corresponding to the PsiFile via PsiDocumentManager::getDocument and pass it to FileDocumentManager::saveDocument.