Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to close files not accessed in period of time #6

Open
ssbarnea opened this issue Nov 20, 2018 · 1 comment
Open

Ability to close files not accessed in period of time #6

ssbarnea opened this issue Nov 20, 2018 · 1 comment

Comments

@ssbarnea
Copy link

I found this extension while trying to find a solution to recycle old open tabs (files) in vscode. Yours extension seems to be close to to that but not having the magic "age" feature present.

The idea is that the number of openfiles keeps growing naturally and while I do not want to close recent files I have no problem if those that were not accessed (in vscode) in the last 48 hours (and that are unmodified).

This would make it more close to browsers where there are extensions to close old tabs.

Could you please consider this? I think it should be possible to find a way to identify when a file was active in vscode and base the recycle condition on that.

@Gruntfuggly
Copy link
Owner

Hi - it sounds like a different extension to this one - I thought there was an extension that did what you describe, but I can't find it either.

It would be fairly simple to write one - it would just set a timestamp every time a document was opened or changed. Would you want it to close the tabs automatically, or on a command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants