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

Feature request: Public API for modifying recently opened list #39265

Closed
davidkpiano opened this issue Nov 28, 2017 · 3 comments
Closed

Feature request: Public API for modifying recently opened list #39265

davidkpiano opened this issue Nov 28, 2017 · 3 comments
Assignees
Labels
api info-needed Issue requires more information from poster workbench-multiroot Multi-root (multiple folders) issues

Comments

@davidkpiano
Copy link

Currently, being able to read/update/delete the mRU (most recently updated) list is unavailable as a public API, and ideally, an extension should be able to:

  • access the mRU
  • manually delete items from mRU
  • update entires in the mRU - not necessary for now

Our current use-case is for extensions that dynamically create "transient" named workspaces that exist in a temporary folder in the file system, and are deleted at some point. Despite being deleted, they still show up in the mRU list, especially on the welcome screen, and they aren't removed from mRU until opening them is attempted, with error (this is by design).

@vscodebot vscodebot bot added the api label Nov 28, 2017
@bpasero
Copy link
Member

bpasero commented Nov 28, 2017

@davidkpiano wouldn't it be better if you had API to add a folder to the currently opened workspace and let VS Code deal with how to present it? That would be covered with #35407

Unless the user saves such a workspace, it will be an untitled workspace that will not show up in the MRU list and will go away once the window is closed and not saved as saved workspace.

@bpasero bpasero self-assigned this Nov 28, 2017
@bpasero bpasero added workbench-multiroot Multi-root (multiple folders) issues info-needed Issue requires more information from poster labels Nov 28, 2017
@vscodebot vscodebot bot closed this as completed Dec 5, 2017
@vscodebot
Copy link

vscodebot bot commented Dec 5, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@davidkpiano
Copy link
Author

@bpasero That would suffice. Thanks!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api info-needed Issue requires more information from poster workbench-multiroot Multi-root (multiple folders) issues
Projects
None yet
Development

No branches or pull requests

2 participants