{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/15178","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/15178/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/15178/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/15178/events","html_url":"https://github.com/Microsoft/vscode/issues/15178","id":188020351,"number":15178,"title":"API Access to \"Open Editors\"","user":{"login":"ChuckJonas","id":5217568,"avatar_url":"https://avatars.githubusercontent.com/u/5217568?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckJonas","html_url":"https://github.com/ChuckJonas","followers_url":"https://api.github.com/users/ChuckJonas/followers","following_url":"https://api.github.com/users/ChuckJonas/following{/other_user}","gists_url":"https://api.github.com/users/ChuckJonas/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckJonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckJonas/subscriptions","organizations_url":"https://api.github.com/users/ChuckJonas/orgs","repos_url":"https://api.github.com/users/ChuckJonas/repos","events_url":"https://api.github.com/users/ChuckJonas/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckJonas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T15:24:00Z","updated_at":"2016-11-08T15:24:00Z","closed_at":null,"body":"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).  \r\n\r\n<img width=\"222\" alt=\"loginstructions_ts_-_vs-apex-debug\" src=\"https://cloud.githubusercontent.com/assets/5217568/20104763/68b379fa-a58c-11e6-8f48-185e5ae47060.png\">\r\n\r\nI understand that Editors are disposed but I just need a list of filenames.\r\n\r\nSomething like: `workspace.openDocuments:Array<TextDocument>` or even just `workspace.openFiles:Array<string>`.\r\n\r\nLong term, it might be nice to have API access to operate on this list (EG: sort open editors pane by last opened, name, etc).\r\n\r\n\r\n"}}
{"actor":{"display_login":"ChuckJonas"}}