-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiderson-testplanworkbench-editorsManaging of editor widgets in workbench windowManaging of editor widgets in workbench window
Milestone
Description
I have a use case where I would like to be able to get a list of all the open editors (basically exactly what is shown here).
I understand that Editors are disposed but I just need a list of filenames.
Something like: workspace.openDocuments:Array<TextDocument>
or even just workspace.openFiles:Array<string>
.
Long term, it might be nice to have API access to operate on this list (EG: sort open editors pane by last opened, name, etc).
Huachao, Raymondd, eamodio, yuliswe, jednano and 310 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiderson-testplanworkbench-editorsManaging of editor widgets in workbench windowManaging of editor widgets in workbench window