{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/poshtools/pulls/comments/30062665","id":30062665,"diff_hunk":"@@ -351,5 +357,30 @@ private void DeleteRightBrace()\n                 undo.Complete();\r\n             }\r\n         }\r\n+\r\n+        /// <summary>\r\n+        /// Determines whether a command is unhandled.\r\n+        /// </summary>\r\n+        /// <param name=\"pguidCmdGroup\">The GUID of the command group.</param>\r\n+        /// <param name=\"command\">The command.</param>\r\n+        /// <returns>True if it is an unrecognized command.</returns>\r\n+        private static bool IsUnhandledCommand(Guid pguidCmdGroup, VSConstants.VSStd2KCmdID command)\r\n+        {\r\n+            return (pguidCmdGroup != VSConstants.VSStd2K ||\r\n+                    (command != VSConstants.VSStd2KCmdID.TYPECHAR &&\r\n+                     command != VSConstants.VSStd2KCmdID.RETURN &&\r\n+                     command != VSConstants.VSStd2KCmdID.DELETE &&\r\n+                     command != VSConstants.VSStd2KCmdID.BACKSPACE &&\r\n+                     command != VSConstants.VSStd2KCmdID.UNDO &&\r\n+                     command != VSConstants.VSStd2KCmdID.CUT &&\r\n+                     command != VSConstants.VSStd2KCmdID.COMMENT_BLOCK &&\r\n+                     command != VSConstants.VSStd2KCmdID.COMMENTBLOCK &&\r","path":"PowerShellTools/Intellisense/AutoCompletionController.cs","position":59,"original_position":59,"commit_id":"eaccc6d8fa8a6b47ae493beabe6bbd971ee0dc60","original_commit_id":"eaccc6d8fa8a6b47ae493beabe6bbd971ee0dc60","user":{"login":"HuanhuanSunMSFT","id":10081208,"avatar_url":"https://avatars.githubusercontent.com/u/10081208?v=3","gravatar_id":"","url":"https://api.github.com/users/HuanhuanSunMSFT","html_url":"https://github.com/HuanhuanSunMSFT","followers_url":"https://api.github.com/users/HuanhuanSunMSFT/followers","following_url":"https://api.github.com/users/HuanhuanSunMSFT/following{/other_user}","gists_url":"https://api.github.com/users/HuanhuanSunMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/HuanhuanSunMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuanhuanSunMSFT/subscriptions","organizations_url":"https://api.github.com/users/HuanhuanSunMSFT/orgs","repos_url":"https://api.github.com/users/HuanhuanSunMSFT/repos","events_url":"https://api.github.com/users/HuanhuanSunMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/HuanhuanSunMSFT/received_events","type":"User","site_admin":false},"body":"These are all commands we do handle same as what we did with IntelliSenseManager","created_at":"2015-05-11T17:42:35Z","updated_at":"2015-05-11T17:42:35Z","html_url":"https://github.com/Microsoft/poshtools/pull/525#discussion_r30062665","pull_request_url":"https://api.github.com/repos/Microsoft/poshtools/pulls/525","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/comments/30062665"},"html":{"href":"https://github.com/Microsoft/poshtools/pull/525#discussion_r30062665"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/525"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/poshtools/pulls/525","id":35057240,"html_url":"https://github.com/Microsoft/poshtools/pull/525","diff_url":"https://github.com/Microsoft/poshtools/pull/525.diff","patch_url":"https://github.com/Microsoft/poshtools/pull/525.patch","issue_url":"https://api.github.com/repos/Microsoft/poshtools/issues/525","number":525,"state":"open","locked":false,"title":"Bugfix for #497","user":{"login":"HuanhuanSunMSFT","id":10081208,"avatar_url":"https://avatars.githubusercontent.com/u/10081208?v=3","gravatar_id":"","url":"https://api.github.com/users/HuanhuanSunMSFT","html_url":"https://github.com/HuanhuanSunMSFT","followers_url":"https://api.github.com/users/HuanhuanSunMSFT/followers","following_url":"https://api.github.com/users/HuanhuanSunMSFT/following{/other_user}","gists_url":"https://api.github.com/users/HuanhuanSunMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/HuanhuanSunMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuanhuanSunMSFT/subscriptions","organizations_url":"https://api.github.com/users/HuanhuanSunMSFT/orgs","repos_url":"https://api.github.com/users/HuanhuanSunMSFT/repos","events_url":"https://api.github.com/users/HuanhuanSunMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/HuanhuanSunMSFT/received_events","type":"User","site_admin":false},"body":"@AndreSayreMSFT @EricMSFT @Microsoft/poshtools ","created_at":"2015-05-09T00:21:01Z","updated_at":"2015-05-11T17:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d74add2639d037f639814347c2ed46032a175a3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/poshtools/pulls/525/commits","review_comments_url":"https://api.github.com/repos/Microsoft/poshtools/pulls/525/comments","review_comment_url":"https://api.github.com/repos/Microsoft/poshtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/poshtools/issues/525/comments","statuses_url":"https://api.github.com/repos/Microsoft/poshtools/statuses/eaccc6d8fa8a6b47ae493beabe6bbd971ee0dc60","head":{"label":"Microsoft:bug497","ref":"bug497","sha":"eaccc6d8fa8a6b47ae493beabe6bbd971ee0dc60","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27854486,"name":"poshtools","full_name":"Microsoft/poshtools","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/poshtools","description":"PowerShell integration for Visual Studio","fork":true,"url":"https://api.github.com/repos/Microsoft/poshtools","forks_url":"https://api.github.com/repos/Microsoft/poshtools/forks","keys_url":"https://api.github.com/repos/Microsoft/poshtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/poshtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/poshtools/teams","hooks_url":"https://api.github.com/repos/Microsoft/poshtools/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/poshtools/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/poshtools/events","assignees_url":"https://api.github.com/repos/Microsoft/poshtools/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/poshtools/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/poshtools/tags","blobs_url":"https://api.github.com/repos/Microsoft/poshtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/poshtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/poshtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/poshtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/poshtools/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/poshtools/languages","stargazers_url":"https://api.github.com/repos/Microsoft/poshtools/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/poshtools/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/poshtools/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/poshtools/subscription","commits_url":"https://api.github.com/repos/Microsoft/poshtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/poshtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/poshtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/poshtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/poshtools/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/poshtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/poshtools/merges","archive_url":"https://api.github.com/repos/Microsoft/poshtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/poshtools/downloads","issues_url":"https://api.github.com/repos/Microsoft/poshtools/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/poshtools/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/poshtools/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/poshtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/poshtools/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/poshtools/releases{/id}","created_at":"2014-12-11T04:44:03Z","updated_at":"2015-05-08T20:22:27Z","pushed_at":"2015-05-11T17:40:38Z","git_url":"git://github.com/Microsoft/poshtools.git","ssh_url":"git@github.com:Microsoft/poshtools.git","clone_url":"https://github.com/Microsoft/poshtools.git","svn_url":"https://github.com/Microsoft/poshtools","homepage":"http://www.visualstudio.com/","size":13816,"stargazers_count":99,"watchers_count":99,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":117,"forks":11,"open_issues":117,"watchers":99,"default_branch":"dev"}},"base":{"label":"Microsoft:dev","ref":"dev","sha":"05ef3e889d27d854357aac72f80f7f54b0a5b413","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27854486,"name":"poshtools","full_name":"Microsoft/poshtools","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/poshtools","description":"PowerShell integration for Visual Studio","fork":true,"url":"https://api.github.com/repos/Microsoft/poshtools","forks_url":"https://api.github.com/repos/Microsoft/poshtools/forks","keys_url":"https://api.github.com/repos/Microsoft/poshtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/poshtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/poshtools/teams","hooks_url":"https://api.github.com/repos/Microsoft/poshtools/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/poshtools/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/poshtools/events","assignees_url":"https://api.github.com/repos/Microsoft/poshtools/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/poshtools/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/poshtools/tags","blobs_url":"https://api.github.com/repos/Microsoft/poshtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/poshtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/poshtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/poshtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/poshtools/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/poshtools/languages","stargazers_url":"https://api.github.com/repos/Microsoft/poshtools/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/poshtools/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/poshtools/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/poshtools/subscription","commits_url":"https://api.github.com/repos/Microsoft/poshtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/poshtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/poshtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/poshtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/poshtools/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/poshtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/poshtools/merges","archive_url":"https://api.github.com/repos/Microsoft/poshtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/poshtools/downloads","issues_url":"https://api.github.com/repos/Microsoft/poshtools/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/poshtools/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/poshtools/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/poshtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/poshtools/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/poshtools/releases{/id}","created_at":"2014-12-11T04:44:03Z","updated_at":"2015-05-08T20:22:27Z","pushed_at":"2015-05-11T17:40:38Z","git_url":"git://github.com/Microsoft/poshtools.git","ssh_url":"git@github.com:Microsoft/poshtools.git","clone_url":"https://github.com/Microsoft/poshtools.git","svn_url":"https://github.com/Microsoft/poshtools","homepage":"http://www.visualstudio.com/","size":13816,"stargazers_count":99,"watchers_count":99,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":117,"forks":11,"open_issues":117,"watchers":99,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/525"},"html":{"href":"https://github.com/Microsoft/poshtools/pull/525"},"issue":{"href":"https://api.github.com/repos/Microsoft/poshtools/issues/525"},"comments":{"href":"https://api.github.com/repos/Microsoft/poshtools/issues/525/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/525/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/poshtools/pulls/525/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/poshtools/statuses/eaccc6d8fa8a6b47ae493beabe6bbd971ee0dc60"}}}}