PsiDocManager.commitAllDocuments vs PsiManager.commitAll

Are they the same or is there a difference in semantic?
When should we call the PsiDocManager.commitAllDocuments?

Jacques


1 comment

Are they the same or is there a difference in semantic?
When should we call the PsiDocManager.commitAllDocuments?


You should invoke it every time when you wish to access PSI and some of
documents might be changed. However we are experimenting with providing
automatic commit (that is you generally should not invoke commitAllDocuments
at all) but it's not fixed yet whether we'll keep this solution.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:b4c1v4$6ps$1@is.intellij.net...

Are they the same or is there a difference in semantic?
When should we call the PsiDocManager.commitAllDocuments?

>

Jacques

>
>


0

Please sign in to leave a comment.