Where is saveAllDocuments gone?

There was the method Project.saveAllDocuments() that used to save
all opened files. It is not there anymore. How can we save all
editor files?
There is still Project.save() but since it was there even in days of
saveAllDocuments(), I suspect this is not the right call.

r.

1 comment

There was the method Project.saveAllDocuments() that used to save
all opened files. It is not there anymore. How can we save all
editor files?


Use FileDocumentManager.saveAllDocuments().

There is still Project.save() but since it was there even in days of
saveAllDocuments(), I suspect this is not the right call.


Yes, Project.save() only saves .ipr & .iws files.

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


"Richard Nemec" <rndzank@attbi.com> wrote in message
news:boc508$rvk$1@is.intellij.net...

There was the method Project.saveAllDocuments() that used to save
all opened files. It is not there anymore. How can we save all
editor files?
There is still Project.save() but since it was there even in days of
saveAllDocuments(), I suspect this is not the right call.

>

r.



0

Please sign in to leave a comment.