{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/906","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/906/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/906/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/906/events","html_url":"https://github.com/Microsoft/vscode/issues/906","id":119900283,"number":906,"title":"Auto-save unsaved files","user":{"login":"weeblr","id":5846185,"avatar_url":"https://avatars.githubusercontent.com/u/5846185?v=3","gravatar_id":"","url":"https://api.github.com/users/weeblr","html_url":"https://github.com/weeblr","followers_url":"https://api.github.com/users/weeblr/followers","following_url":"https://api.github.com/users/weeblr/following{/other_user}","gists_url":"https://api.github.com/users/weeblr/gists{/gist_id}","starred_url":"https://api.github.com/users/weeblr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weeblr/subscriptions","organizations_url":"https://api.github.com/users/weeblr/orgs","repos_url":"https://api.github.com/users/weeblr/repos","events_url":"https://api.github.com/users/weeblr/events{/privacy}","received_events_url":"https://api.github.com/users/weeblr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/duplicate","name":"duplicate","color":"E2A1C2"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/explorer-files","name":"explorer-files","color":"1d76db"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"assignees":[{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":1462,"closed_issues":984,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2016-10-04T18:36:33Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2015-12-02T09:25:56Z","updated_at":"2016-10-04T19:42:19Z","closed_at":"2016-05-10T14:05:25Z","body":"A very handy feature in Notepad++: one can just open a new editing tab, or multiple ones, cut and paste stuff, or scribble a few notes. \r\nUpon closing the application or shutting down the computer, instead of the usual \"Do you want to save/not save/cancel\" (as vsCode does), all those unsaved and unnamed files are simply saved to a temp location by the app, and restored in the same state upon next start.\r\n\r\nRgds\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/251491341","html_url":"https://github.com/Microsoft/vscode/issues/906#issuecomment-251491341","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/906","id":251491341,"user":{"login":"erhhung","id":5808864,"avatar_url":"https://avatars.githubusercontent.com/u/5808864?v=3","gravatar_id":"","url":"https://api.github.com/users/erhhung","html_url":"https://github.com/erhhung","followers_url":"https://api.github.com/users/erhhung/followers","following_url":"https://api.github.com/users/erhhung/following{/other_user}","gists_url":"https://api.github.com/users/erhhung/gists{/gist_id}","starred_url":"https://api.github.com/users/erhhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhhung/subscriptions","organizations_url":"https://api.github.com/users/erhhung/orgs","repos_url":"https://api.github.com/users/erhhung/repos","events_url":"https://api.github.com/users/erhhung/events{/privacy}","received_events_url":"https://api.github.com/users/erhhung/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T19:42:19Z","updated_at":"2016-10-04T19:42:19Z","body":"Having now explicitly set my `files.autoSave` preference to `afterDelay`, I realized that this **in-place save** really doesn't work in common web-development situations where you run a **watcher that rebuilds code on-the-fly**.\r\n\r\nNone of the options for that preference works in that scenario--only the tried-and-true explicit commit (save or save all) coupled with **autosave to temp files** will work, IMO.\r\n\r\nBTW, my recommendation on the autosave behavior would not be a duplicate of #101 as it's more general and has nothing to do with quitting the editor."}}
{"actor":{"display_login":"erhhung"}}