This is (was?) a very convenient and powerful API, with legitimate uses.
What exactly do you need it for? I was able to replace all my usages with com.intellij.psi.PsiElementFactory.createFileFromText(..., boolean physical).
What exactly do you need it for? I was able to replace all my usages with com.intellij.psi.PsiElementFactory.createFileFromText(..., boolean physical).
A lot of UI-related dialogs seem to accept it as if it were a real class. I totally missed the new createFileFromText() variants introduced in the 6.0 API.
I believe that should work for you as well.
It does! (I just pass "new Date().getTime()" for the timestamp). Thanks again.
See also:
http://www.intellij.net/forums/thread.jspa?messageID=4939755�
Any suggestions?
This is (was?) a very convenient and powerful API, with legitimate uses.
Taras Tielkes wrote:
What exactly do you need it for? I was able to replace all my usages with
com.intellij.psi.PsiElementFactory.createFileFromText(..., boolean physical).
I believe that should work for you as well.
Sascha
Thanks Sascha,
A lot of UI-related dialogs seem to accept it as if it were a real class.
I totally missed the new createFileFromText() variants introduced in the
6.0 API.
It does! (I just pass "new Date().getTime()" for the timestamp). Thanks again.