Well, I think that global storage for docs is a good idea, regardless of method used.
In the same time, I believe that it is also a good idea to retain and extend theide's capability of creating documents and connecting them with the code.
I think that this perhaps leads to "upload" button in Topic++