For example I am working on some subtask of project, usually it is 3-7 files of sourcecode and i keep them opened in editor. When I finish and switch to another task, then I start to use another set of sourcecode files. But usually I have to switch to the task at least several times (when customers or testers change/clarify requirements, when some bugs are found etc). I would like to save set of opened in IDE files in order to be able to reopen them later.
Delphi desktops doesn't save opened files, only layout of forms, so it doesn't help. Is there any way to do it? Maybe workaround ?
Delphi saves the desktop of open files in its .dsk file. This is associated with a Delphi project. So the obvious conclusion is that you just need to change projects. Make each sub-task be a branch in your version control system and that will allow you to operate on different Delphi projects for each sub-task.
If you don't want to do that, then I guess you could perform some trickery with .dsk files. Like this:
Obviously you could easily script that for convenience.