{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/comments/159064390","pull_request_review_id":85959127,"id":159064390,"diff_hunk":"@@ -54,6 +54,13 @@ public interface IEditorOperations\n         /// <returns>A Task that can be tracked for completion.</returns>\n         Task CloseFile(string filePath);\n \n+        /// <summary>\n+        /// Causes a file to be saved in the editor.\n+        /// </summary>\n+        /// <param name=\"filePath\">The path of the file to be saved.</param>\n+        /// <returns>A Task that can be tracked for completion.</returns>\n+        Task SaveFile(string filePath);\n+","path":"src/PowerShellEditorServices/Extensions/IEditorOperations.cs","position":10,"original_position":10,"commit_id":"2eabe9087168ef81b0a2f018faa0d49e013b61bf","original_commit_id":"2eabe9087168ef81b0a2f018faa0d49e013b61bf","user":{"login":"SeeminglyScience","id":24977523,"avatar_url":"https://avatars3.githubusercontent.com/u/24977523?v=4","gravatar_id":"","url":"https://api.github.com/users/SeeminglyScience","html_url":"https://github.com/SeeminglyScience","followers_url":"https://api.github.com/users/SeeminglyScience/followers","following_url":"https://api.github.com/users/SeeminglyScience/following{/other_user}","gists_url":"https://api.github.com/users/SeeminglyScience/gists{/gist_id}","starred_url":"https://api.github.com/users/SeeminglyScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeeminglyScience/subscriptions","organizations_url":"https://api.github.com/users/SeeminglyScience/orgs","repos_url":"https://api.github.com/users/SeeminglyScience/repos","events_url":"https://api.github.com/users/SeeminglyScience/events{/privacy}","received_events_url":"https://api.github.com/users/SeeminglyScience/received_events","type":"User","site_admin":false},"body":"Would adding to this interface be a breaking change?  I know we have at least two new implementations of PSES since this interface was last changed.  Should new features be added as additional interfaces, something like `IEditorSaveOperations`?","created_at":"2017-12-29T14:06:06Z","updated_at":"2017-12-29T14:44:51Z","html_url":"https://github.com/PowerShell/PowerShellEditorServices/pull/590#discussion_r159064390","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/comments/159064390"},"html":{"href":"https://github.com/PowerShell/PowerShellEditorServices/pull/590#discussion_r159064390"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590","id":160467592,"html_url":"https://github.com/PowerShell/PowerShellEditorServices/pull/590","diff_url":"https://github.com/PowerShell/PowerShellEditorServices/pull/590.diff","patch_url":"https://github.com/PowerShell/PowerShellEditorServices/pull/590.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/590","number":590,"state":"open","locked":false,"title":"add Save to FileContext API","user":{"login":"tylerl0706","id":2644648,"avatar_url":"https://avatars2.githubusercontent.com/u/2644648?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerl0706","html_url":"https://github.com/tylerl0706","followers_url":"https://api.github.com/users/tylerl0706/followers","following_url":"https://api.github.com/users/tylerl0706/following{/other_user}","gists_url":"https://api.github.com/users/tylerl0706/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerl0706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerl0706/subscriptions","organizations_url":"https://api.github.com/users/tylerl0706/orgs","repos_url":"https://api.github.com/users/tylerl0706/repos","events_url":"https://api.github.com/users/tylerl0706/events{/privacy}","received_events_url":"https://api.github.com/users/tylerl0706/received_events","type":"User","site_admin":false},"body":"This is the PSES portion of this change. See the PSES portion here: https://github.com/PowerShell/vscode-powershell/pull/1139\r\n\r\nPlease let me know if I'm missing something.\r\n\r\nTo test this, you can use:\r\n```powershell\r\n$psEditor.GetEditorContext().CurrentFile.Save()\r\n```\r\nin the Integrated Console.","created_at":"2017-12-29T03:07:32Z","updated_at":"2017-12-29T14:44:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14641bef233aa4898f8017f9ce634129166acae7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"daviwil","id":79405,"avatar_url":"https://avatars3.githubusercontent.com/u/79405?v=4","gravatar_id":"","url":"https://api.github.com/users/daviwil","html_url":"https://github.com/daviwil","followers_url":"https://api.github.com/users/daviwil/followers","following_url":"https://api.github.com/users/daviwil/following{/other_user}","gists_url":"https://api.github.com/users/daviwil/gists{/gist_id}","starred_url":"https://api.github.com/users/daviwil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviwil/subscriptions","organizations_url":"https://api.github.com/users/daviwil/orgs","repos_url":"https://api.github.com/users/daviwil/repos","events_url":"https://api.github.com/users/daviwil/events{/privacy}","received_events_url":"https://api.github.com/users/daviwil/received_events","type":"User","site_admin":true}],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/590/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/statuses/2eabe9087168ef81b0a2f018faa0d49e013b61bf","head":{"label":"tylerl0706:add-save","ref":"add-save","sha":"2eabe9087168ef81b0a2f018faa0d49e013b61bf","user":{"login":"tylerl0706","id":2644648,"avatar_url":"https://avatars2.githubusercontent.com/u/2644648?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerl0706","html_url":"https://github.com/tylerl0706","followers_url":"https://api.github.com/users/tylerl0706/followers","following_url":"https://api.github.com/users/tylerl0706/following{/other_user}","gists_url":"https://api.github.com/users/tylerl0706/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerl0706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerl0706/subscriptions","organizations_url":"https://api.github.com/users/tylerl0706/orgs","repos_url":"https://api.github.com/users/tylerl0706/repos","events_url":"https://api.github.com/users/tylerl0706/events{/privacy}","received_events_url":"https://api.github.com/users/tylerl0706/received_events","type":"User","site_admin":false},"repo":{"id":107151531,"name":"PowerShellEditorServices","full_name":"tylerl0706/PowerShellEditorServices","owner":{"login":"tylerl0706","id":2644648,"avatar_url":"https://avatars2.githubusercontent.com/u/2644648?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerl0706","html_url":"https://github.com/tylerl0706","followers_url":"https://api.github.com/users/tylerl0706/followers","following_url":"https://api.github.com/users/tylerl0706/following{/other_user}","gists_url":"https://api.github.com/users/tylerl0706/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerl0706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerl0706/subscriptions","organizations_url":"https://api.github.com/users/tylerl0706/orgs","repos_url":"https://api.github.com/users/tylerl0706/repos","events_url":"https://api.github.com/users/tylerl0706/events{/privacy}","received_events_url":"https://api.github.com/users/tylerl0706/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tylerl0706/PowerShellEditorServices","description":"A common platform for PowerShell development support in any editor or application!","fork":true,"url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices","forks_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/forks","keys_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/teams","hooks_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/hooks","issue_events_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/issues/events{/number}","events_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/events","assignees_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/assignees{/user}","branches_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/branches{/branch}","tags_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/tags","blobs_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/git/refs{/sha}","trees_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/statuses/{sha}","languages_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/languages","stargazers_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/stargazers","contributors_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/contributors","subscribers_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/subscribers","subscription_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/subscription","commits_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/commits{/sha}","git_commits_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/git/commits{/sha}","comments_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/comments{/number}","issue_comment_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/issues/comments{/number}","contents_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/contents/{+path}","compare_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/merges","archive_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/downloads","issues_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/issues{/number}","pulls_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/pulls{/number}","milestones_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/milestones{/number}","notifications_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/labels{/name}","releases_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/releases{/id}","deployments_url":"https://api.github.com/repos/tylerl0706/PowerShellEditorServices/deployments","created_at":"2017-10-16T16:07:25Z","updated_at":"2017-10-16T16:07:28Z","pushed_at":"2017-12-29T03:00:17Z","git_url":"git://github.com/tylerl0706/PowerShellEditorServices.git","ssh_url":"git@github.com:tylerl0706/PowerShellEditorServices.git","clone_url":"https://github.com/tylerl0706/PowerShellEditorServices.git","svn_url":"https://github.com/tylerl0706/PowerShellEditorServices","homepage":"","size":3293,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerShell:master","ref":"master","sha":"3ca4139794eafa60dc09ae747c07934b2213e930","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars3.githubusercontent.com/u/11524380?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":36031537,"name":"PowerShellEditorServices","full_name":"PowerShell/PowerShellEditorServices","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars3.githubusercontent.com/u/11524380?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShellEditorServices","description":"A common platform for PowerShell development support in any editor or application!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices","forks_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/deployments","created_at":"2015-05-21T18:54:08Z","updated_at":"2017-12-15T12:24:38Z","pushed_at":"2017-12-29T03:07:32Z","git_url":"git://github.com/PowerShell/PowerShellEditorServices.git","ssh_url":"git@github.com:PowerShell/PowerShellEditorServices.git","clone_url":"https://github.com/PowerShell/PowerShellEditorServices.git","svn_url":"https://github.com/PowerShell/PowerShellEditorServices","homepage":"","size":3313,"stargazers_count":197,"watchers_count":197,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":122,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":47,"open_issues":122,"watchers":197,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590"},"html":{"href":"https://github.com/PowerShell/PowerShellEditorServices/pull/590"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/590"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/issues/590/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/pulls/590/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShellEditorServices/statuses/2eabe9087168ef81b0a2f018faa0d49e013b61bf"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SeeminglyScience"}}