{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/comments/124940137","pull_request_review_id":47270233,"id":124940137,"diff_hunk":"@@ -94,6 +98,73 @@ public List<ProjectSourceFile> FindMatchingSourceFile(string sourceLocationFileP\n             return query.ToList<ProjectSourceFile>();\n         }\n \n+        /// <summary>\n+        /// Set default project path in registry.\n+        /// When create a new project etc, the default path is used at select path dialog.\n+        /// </summary>\n+        /// <param name=\"path\">The default project path to set</param>\n+        public static void SetDefaultProjectPath(string path)\n+        {\n+            string MruKeyPath = \"MRUSettingsLocalProjectLocationEntries\";\n+            var keyPath = VsVersionUtils.NewProjectDialogKeyPath;","path":"GoogleCloudExtension/GoogleCloudExtension/SolutionUtils/SolutionHelper.cs","position":32,"original_position":32,"commit_id":"1762fdd0892abb2772f9b7e9fa7c90c783f04410","original_commit_id":"1762fdd0892abb2772f9b7e9fa7c90c783f04410","user":{"login":"ILMTitan","id":16388858,"avatar_url":"https://avatars0.githubusercontent.com/u/16388858?v=3","gravatar_id":"","url":"https://api.github.com/users/ILMTitan","html_url":"https://github.com/ILMTitan","followers_url":"https://api.github.com/users/ILMTitan/followers","following_url":"https://api.github.com/users/ILMTitan/following{/other_user}","gists_url":"https://api.github.com/users/ILMTitan/gists{/gist_id}","starred_url":"https://api.github.com/users/ILMTitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ILMTitan/subscriptions","organizations_url":"https://api.github.com/users/ILMTitan/orgs","repos_url":"https://api.github.com/users/ILMTitan/repos","events_url":"https://api.github.com/users/ILMTitan/events{/privacy}","received_events_url":"https://api.github.com/users/ILMTitan/received_events","type":"User","site_admin":false},"body":"Why not use `$\"{dte.RegistryRoot}\\NewProjectDialog\"`?","created_at":"2017-06-30T00:07:22Z","updated_at":"2017-06-30T00:32:07Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748#discussion_r124940137","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/comments/124940137"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748#discussion_r124940137"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748","id":128249333,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/748","number":748,"state":"open","locked":false,"title":"Set active repo","user":{"login":"Deren-Liao","id":22829476,"avatar_url":"https://avatars3.githubusercontent.com/u/22829476?v=3","gravatar_id":"","url":"https://api.github.com/users/Deren-Liao","html_url":"https://github.com/Deren-Liao","followers_url":"https://api.github.com/users/Deren-Liao/followers","following_url":"https://api.github.com/users/Deren-Liao/following{/other_user}","gists_url":"https://api.github.com/users/Deren-Liao/gists{/gist_id}","starred_url":"https://api.github.com/users/Deren-Liao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deren-Liao/subscriptions","organizations_url":"https://api.github.com/users/Deren-Liao/orgs","repos_url":"https://api.github.com/users/Deren-Liao/repos","events_url":"https://api.github.com/users/Deren-Liao/events{/privacy}","received_events_url":"https://api.github.com/users/Deren-Liao/received_events","type":"User","site_admin":false},"body":"### Show a message at Team Explorer after clone, create repo\r\n   * If a new repo is created, there is a link in the message that creates an initial project for the repo\r\n   * If it just clones an existing repo, there is a link that asks to switch to the repo\r\n### Double click a repo will set the repo as active. \r\n### Show error message if list repositories throw DataSourceException. \r\n","created_at":"2017-06-29T21:16:38Z","updated_at":"2017-06-30T00:32:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f64cc182402c936e4463cf034cc10c9b6732af5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"iantalarico","id":5264734,"avatar_url":"https://avatars3.githubusercontent.com/u/5264734?v=3","gravatar_id":"","url":"https://api.github.com/users/iantalarico","html_url":"https://github.com/iantalarico","followers_url":"https://api.github.com/users/iantalarico/followers","following_url":"https://api.github.com/users/iantalarico/following{/other_user}","gists_url":"https://api.github.com/users/iantalarico/gists{/gist_id}","starred_url":"https://api.github.com/users/iantalarico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantalarico/subscriptions","organizations_url":"https://api.github.com/users/iantalarico/orgs","repos_url":"https://api.github.com/users/iantalarico/repos","events_url":"https://api.github.com/users/iantalarico/events{/privacy}","received_events_url":"https://api.github.com/users/iantalarico/received_events","type":"User","site_admin":false},{"login":"ivannaranjo","id":9807532,"avatar_url":"https://avatars1.githubusercontent.com/u/9807532?v=3","gravatar_id":"","url":"https://api.github.com/users/ivannaranjo","html_url":"https://github.com/ivannaranjo","followers_url":"https://api.github.com/users/ivannaranjo/followers","following_url":"https://api.github.com/users/ivannaranjo/following{/other_user}","gists_url":"https://api.github.com/users/ivannaranjo/gists{/gist_id}","starred_url":"https://api.github.com/users/ivannaranjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivannaranjo/subscriptions","organizations_url":"https://api.github.com/users/ivannaranjo/orgs","repos_url":"https://api.github.com/users/ivannaranjo/repos","events_url":"https://api.github.com/users/ivannaranjo/events{/privacy}","received_events_url":"https://api.github.com/users/ivannaranjo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/748/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/statuses/1762fdd0892abb2772f9b7e9fa7c90c783f04410","head":{"label":"Deren-Liao:csr_active_repo","ref":"csr_active_repo","sha":"1762fdd0892abb2772f9b7e9fa7c90c783f04410","user":{"login":"Deren-Liao","id":22829476,"avatar_url":"https://avatars3.githubusercontent.com/u/22829476?v=3","gravatar_id":"","url":"https://api.github.com/users/Deren-Liao","html_url":"https://github.com/Deren-Liao","followers_url":"https://api.github.com/users/Deren-Liao/followers","following_url":"https://api.github.com/users/Deren-Liao/following{/other_user}","gists_url":"https://api.github.com/users/Deren-Liao/gists{/gist_id}","starred_url":"https://api.github.com/users/Deren-Liao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deren-Liao/subscriptions","organizations_url":"https://api.github.com/users/Deren-Liao/orgs","repos_url":"https://api.github.com/users/Deren-Liao/repos","events_url":"https://api.github.com/users/Deren-Liao/events{/privacy}","received_events_url":"https://api.github.com/users/Deren-Liao/received_events","type":"User","site_admin":false},"repo":{"id":80679452,"name":"google-cloud-visualstudio","full_name":"Deren-Liao/google-cloud-visualstudio","owner":{"login":"Deren-Liao","id":22829476,"avatar_url":"https://avatars3.githubusercontent.com/u/22829476?v=3","gravatar_id":"","url":"https://api.github.com/users/Deren-Liao","html_url":"https://github.com/Deren-Liao","followers_url":"https://api.github.com/users/Deren-Liao/followers","following_url":"https://api.github.com/users/Deren-Liao/following{/other_user}","gists_url":"https://api.github.com/users/Deren-Liao/gists{/gist_id}","starred_url":"https://api.github.com/users/Deren-Liao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deren-Liao/subscriptions","organizations_url":"https://api.github.com/users/Deren-Liao/orgs","repos_url":"https://api.github.com/users/Deren-Liao/repos","events_url":"https://api.github.com/users/Deren-Liao/events{/privacy}","received_events_url":"https://api.github.com/users/Deren-Liao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Deren-Liao/google-cloud-visualstudio","description":"Google Cloud Tools for Visual Studio","fork":true,"url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio","forks_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/forks","keys_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/teams","hooks_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/hooks","issue_events_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/issues/events{/number}","events_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/events","assignees_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/assignees{/user}","branches_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/branches{/branch}","tags_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/tags","blobs_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/statuses/{sha}","languages_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/languages","stargazers_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/stargazers","contributors_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/contributors","subscribers_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/subscribers","subscription_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/subscription","commits_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/contents/{+path}","compare_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/merges","archive_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/downloads","issues_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/issues{/number}","pulls_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/pulls{/number}","milestones_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/milestones{/number}","notifications_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/labels{/name}","releases_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/releases{/id}","deployments_url":"https://api.github.com/repos/Deren-Liao/google-cloud-visualstudio/deployments","created_at":"2017-02-02T00:31:58Z","updated_at":"2017-02-02T00:32:01Z","pushed_at":"2017-06-29T23:50:54Z","git_url":"git://github.com/Deren-Liao/google-cloud-visualstudio.git","ssh_url":"git@github.com:Deren-Liao/google-cloud-visualstudio.git","clone_url":"https://github.com/Deren-Liao/google-cloud-visualstudio.git","svn_url":"https://github.com/Deren-Liao/google-cloud-visualstudio","homepage":"https://cloud.google.com/tools/visual-studio/docs/","size":13601,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:m_csr","ref":"m_csr","sha":"45591156f1adf0684b2dbf160e70bc3328dfda0f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":45055303,"name":"google-cloud-visualstudio","full_name":"GoogleCloudPlatform/google-cloud-visualstudio","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio","description":"Google Cloud Tools for Visual Studio","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/deployments","created_at":"2015-10-27T16:47:13Z","updated_at":"2017-06-21T14:03:03Z","pushed_at":"2017-06-29T23:40:23Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-visualstudio.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-visualstudio.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio","homepage":"https://cloud.google.com/tools/visual-studio/docs/","size":7287,"stargazers_count":34,"watchers_count":34,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":103,"forks":19,"open_issues":103,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/pull/748"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/748"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/issues/748/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/pulls/748/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-visualstudio/statuses/1762fdd0892abb2772f9b7e9fa7c90c783f04410"}}}}
{"actor":{"display_login":"ILMTitan"}}