Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#862 How to "forget" files that are closed?

None
fixed
nobody
None
1
2013-12-16
2013-11-27
Kirill Müller
No

When I close a file pane in TeXstudio, it seems to simply hide that pane and not fully close it. However, it's removed from the tree. When the file behind that pane is deleted externally, TeXstudio complains.

I understand that files are hidden instead of being closed for performance reasons. Is there a timeout or something like that after which they are forgotten? Also, I think it would help to see those files in the tree, perhaps under a special node "closed files", and also be able to finally close those files from there. Finally, is there a way to "refresh" a file, i.e. to completely reload all information TeXstudio might have computed about that file, from its contents on disk?

Discussion

  • Tim Hoffmann
    Tim Hoffmann
    2013-12-01

    Keeping documents hidden and not completely closed is not primarily for performance reasons. They contain information relevant for open documents in multi-file projects (e.g. labels, newcommand definitions, inculuded packages ...).

    Is it just the complaining on deletion what's bothering you (we should change to handle that silently for hidden files) or do you really need more control over that? Ideally the user shouldn't have to care about these internals.

     
  • removed files from disc are purged from memory

     
    • status: open --> fixed
    • Group: -->
     
  • Kirill Müller
    Kirill Müller
    2013-12-16

    Thanks, that should do it for now. Manual file refresh is still unresolved (in some situations TeXstudio has a wrong idea about the actual file contents on disk), but I can open another issue for that later.