{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/8569","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/8569/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/8569/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/8569/events","html_url":"https://github.com/Microsoft/vscode/issues/8569","id":163147630,"number":8569,"title":"Emmet: saving a file outside the current directory in the case of using Encode/Decode command","user":{"login":"mrmlnc","id":7034281,"avatar_url":"https://avatars.githubusercontent.com/u/7034281?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmlnc","html_url":"https://github.com/mrmlnc","followers_url":"https://api.github.com/users/mrmlnc/followers","following_url":"https://api.github.com/users/mrmlnc/following{/other_user}","gists_url":"https://api.github.com/users/mrmlnc/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmlnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmlnc/subscriptions","organizations_url":"https://api.github.com/users/mrmlnc/orgs","repos_url":"https://api.github.com/users/mrmlnc/repos","events_url":"https://api.github.com/users/mrmlnc/events{/privacy}","received_events_url":"https://api.github.com/users/mrmlnc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E"}],"state":"open","locked":false,"assignee":{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"assignees":[{"login":"egamma","id":172399,"avatar_url":"https://avatars.githubusercontent.com/u/172399?v=3","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/22","html_url":"https://github.com/Microsoft/vscode/milestones/July%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/22/labels","id":1837472,"number":22,"title":"July 2016","description":"","creator":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"open_issues":117,"closed_issues":3,"state":"open","created_at":"2016-06-20T07:57:10Z","updated_at":"2016-06-30T19:30:41Z","due_on":"2017-06-29T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-06-30T11:56:19Z","updated_at":"2016-06-30T19:35:31Z","closed_at":null,"body":"Help to testing #8207 \r\n\r\n**VSCode Version**: 1.3.0-insiders (a21c12346f388e51858c930875ca30968604c116)\r\n**OS Version**: Windows 10 Pro (build 10586.420)\r\n\r\n**Steps to Reproduce:**\r\n\r\n  1. Open any directory and create a CSS file:\r\n\r\n  ```css\r\n  .test { background-image: url(https://avatars1.githubusercontent.com/u/7034281?v=3&s=460) }\r\n  ```\r\n\r\n  2. Run `Emmet: Encode\\Decode`.\r\n  3. Run `Emmet: Encode\\Decode` and write `../test.png`.\r\n  4. The file will be saved.\r\n\r\n**Questions:**\r\n\r\n  1. This is correct behavior?\r\n  2. Prevent saving a file outside the current workspace? For example: `\"The path **{0}** is located outside the current workspace.\"`\r\n  3. Provide choice to the user?\r\n\r\n**P.S.:** This is the last problem that i could find."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/229765278","html_url":"https://github.com/Microsoft/vscode/issues/8569#issuecomment-229765278","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/8569","id":229765278,"user":{"login":"mrmlnc","id":7034281,"avatar_url":"https://avatars.githubusercontent.com/u/7034281?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmlnc","html_url":"https://github.com/mrmlnc","followers_url":"https://api.github.com/users/mrmlnc/followers","following_url":"https://api.github.com/users/mrmlnc/following{/other_user}","gists_url":"https://api.github.com/users/mrmlnc/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmlnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmlnc/subscriptions","organizations_url":"https://api.github.com/users/mrmlnc/orgs","repos_url":"https://api.github.com/users/mrmlnc/repos","events_url":"https://api.github.com/users/mrmlnc/events{/privacy}","received_events_url":"https://api.github.com/users/mrmlnc/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T19:35:31Z","updated_at":"2016-06-30T19:35:31Z","body":"@egamma, problems:\r\n\r\n  1. Emmet uses the synchronous API\r\n  2. Emmet does not know how to save files in the directory (`save` in `fileAccessor.ts`)\r\n  3. Emmet throws errors when working with paths that don't exist."}}
{"actor":{"display_login":"mrmlnc"}}