{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/8543","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/8543/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/8543/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/8543/events","html_url":"https://github.com/Microsoft/vscode/issues/8543","id":163044851,"number":8543,"title":"Feature Request: Command line flag to disable files.autosave setting","user":{"login":"StaticSphere","id":4032676,"avatar_url":"https://avatars.githubusercontent.com/u/4032676?v=3","gravatar_id":"","url":"https://api.github.com/users/StaticSphere","html_url":"https://github.com/StaticSphere","followers_url":"https://api.github.com/users/StaticSphere/followers","following_url":"https://api.github.com/users/StaticSphere/following{/other_user}","gists_url":"https://api.github.com/users/StaticSphere/gists{/gist_id}","starred_url":"https://api.github.com/users/StaticSphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StaticSphere/subscriptions","organizations_url":"https://api.github.com/users/StaticSphere/orgs","repos_url":"https://api.github.com/users/StaticSphere/repos","events_url":"https://api.github.com/users/StaticSphere/events{/privacy}","received_events_url":"https://api.github.com/users/StaticSphere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-29T22:49:35Z","updated_at":"2016-06-30T05:31:03Z","closed_at":null,"body":"As of version 1.2.1, if I have files.autosave set to anything other than \"off\", and am using VSCode as my Git editor, we run the risk of \"saving\" a commit message before we're actually done writing it.  VSCode currently has the -w flag, which keeps it from closing until the application is deliberately closed, but the file still auto-saves if that's how the developer normally works (they have files.autosave set to something other than \"off\").\r\n\r\nIt would be nice to do something like this to ensure that VSCode won't persist changes until the application is closed:\r\n\r\n`code.exe --wait --new-window --no-auto-save`\r\n\r\nEither that, or override specific workspace settings from the cli\r\n\r\n`code.exe --wait --new-window --override-settings \"files.autosave=off\"`"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/229563086","html_url":"https://github.com/Microsoft/vscode/issues/8543#issuecomment-229563086","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/8543","id":229563086,"user":{"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},"created_at":"2016-06-30T05:31:03Z","updated_at":"2016-06-30T05:31:03Z","body":"@StaticSphere but the whole point of -w is that the external application should only continue after the window is closed so auto save should really not cause any issues?"}}
{"actor":{"display_login":"bpasero"}}