{"action":"created","comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments/38264918","id":38264918,"diff_hunk":"@@ -0,0 +1,79 @@\n+using System;\n+using System.Collections.Generic;\n+using System.Composition;\n+using System.Linq;\n+using System.Threading;\n+using System.Threading.Tasks;\n+using Microsoft.CodeAnalysis.FindSymbols;\n+using Microsoft.CodeAnalysis.Text;\n+using OmniSharp.Endpoints;\n+using OmniSharp.Models;\n+\n+namespace OmniSharp.Roslyn.CSharp.Services\n+{\n+    [Export(typeof(IGotoDefintion))]\n+    class RoslynGotoDefinition : IGotoDefintion\n+    {\n+        public Task<bool> IsApplicableTo(GotoDefinitionRequest request)\n+        {\n+            return Task.FromResult(OmnisharpWorkspace.Instance.GetDocument(request.FileName) != null);","path":"src/OmniSharp.Roslyn.CSharp/Services/RoslynGotoDefinition.cs","position":19,"original_position":19,"commit_id":"c14cd5bf778d3b61981c75a2dd2c5334209cffcf","original_commit_id":"c14cd5bf778d3b61981c75a2dd2c5334209cffcf","user":{"login":"nosami","id":667194,"avatar_url":"https://avatars.githubusercontent.com/u/667194?v=3","gravatar_id":"","url":"https://api.github.com/users/nosami","html_url":"https://github.com/nosami","followers_url":"https://api.github.com/users/nosami/followers","following_url":"https://api.github.com/users/nosami/following{/other_user}","gists_url":"https://api.github.com/users/nosami/gists{/gist_id}","starred_url":"https://api.github.com/users/nosami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosami/subscriptions","organizations_url":"https://api.github.com/users/nosami/orgs","repos_url":"https://api.github.com/users/nosami/repos","events_url":"https://api.github.com/users/nosami/events{/privacy}","received_events_url":"https://api.github.com/users/nosami/received_events","type":"User","site_admin":false},"body":"how about ```return extension.Equals(\"cs\")```","created_at":"2015-08-29T19:06:06Z","updated_at":"2015-08-29T19:06:06Z","html_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293#discussion_r38264918","pull_request_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293","_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments/38264918"},"html":{"href":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293#discussion_r38264918"},"pull_request":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293","id":43698631,"html_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293","diff_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293.diff","patch_url":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293.patch","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/293","number":293,"state":"open","locked":false,"title":"POC: plugin system with MEF","user":{"login":"david-driscoll","id":1269157,"avatar_url":"https://avatars.githubusercontent.com/u/1269157?v=3","gravatar_id":"","url":"https://api.github.com/users/david-driscoll","html_url":"https://github.com/david-driscoll","followers_url":"https://api.github.com/users/david-driscoll/followers","following_url":"https://api.github.com/users/david-driscoll/following{/other_user}","gists_url":"https://api.github.com/users/david-driscoll/gists{/gist_id}","starred_url":"https://api.github.com/users/david-driscoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-driscoll/subscriptions","organizations_url":"https://api.github.com/users/david-driscoll/orgs","repos_url":"https://api.github.com/users/david-driscoll/repos","events_url":"https://api.github.com/users/david-driscoll/events{/privacy}","received_events_url":"https://api.github.com/users/david-driscoll/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-29T17:44:08Z","updated_at":"2015-08-29T19:06:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fd3093cdc49c5305e6a70fbb02d8eac20d9655b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293/commits","review_comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293/comments","review_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/293/comments","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/c14cd5bf778d3b61981c75a2dd2c5334209cffcf","head":{"label":"OmniSharp:plugins/mef","ref":"plugins/mef","sha":"c14cd5bf778d3b61981c75a2dd2c5334209cffcf","user":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"repo":{"id":27927984,"name":"omnisharp-roslyn","full_name":"OmniSharp/omnisharp-roslyn","owner":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OmniSharp/omnisharp-roslyn","description":"OmniSharp based on roslyn workspaces","fork":false,"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn","forks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/forks","keys_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/teams","hooks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/hooks","issue_events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/events","assignees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/tags","blobs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/languages","stargazers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/stargazers","contributors_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contributors","subscribers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscribers","subscription_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscription","commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/merges","archive_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/downloads","issues_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/labels{/name}","releases_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases{/id}","created_at":"2014-12-12T16:21:03Z","updated_at":"2015-08-29T12:13:12Z","pushed_at":"2015-08-29T17:44:08Z","git_url":"git://github.com/OmniSharp/omnisharp-roslyn.git","ssh_url":"git@github.com:OmniSharp/omnisharp-roslyn.git","clone_url":"https://github.com/OmniSharp/omnisharp-roslyn.git","svn_url":"https://github.com/OmniSharp/omnisharp-roslyn","homepage":"","size":6690,"stargazers_count":128,"watchers_count":128,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":67,"forks":58,"open_issues":67,"watchers":128,"default_branch":"master"}},"base":{"label":"OmniSharp:master","ref":"master","sha":"ceda8a9bd573610664488a4c506f347735fae3ba","user":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"repo":{"id":27927984,"name":"omnisharp-roslyn","full_name":"OmniSharp/omnisharp-roslyn","owner":{"login":"OmniSharp","id":9420663,"avatar_url":"https://avatars.githubusercontent.com/u/9420663?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniSharp","html_url":"https://github.com/OmniSharp","followers_url":"https://api.github.com/users/OmniSharp/followers","following_url":"https://api.github.com/users/OmniSharp/following{/other_user}","gists_url":"https://api.github.com/users/OmniSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniSharp/subscriptions","organizations_url":"https://api.github.com/users/OmniSharp/orgs","repos_url":"https://api.github.com/users/OmniSharp/repos","events_url":"https://api.github.com/users/OmniSharp/events{/privacy}","received_events_url":"https://api.github.com/users/OmniSharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OmniSharp/omnisharp-roslyn","description":"OmniSharp based on roslyn workspaces","fork":false,"url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn","forks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/forks","keys_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/teams","hooks_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/hooks","issue_events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/events","assignees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/tags","blobs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/languages","stargazers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/stargazers","contributors_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contributors","subscribers_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscribers","subscription_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/subscription","commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/merges","archive_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/downloads","issues_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/labels{/name}","releases_url":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases{/id}","created_at":"2014-12-12T16:21:03Z","updated_at":"2015-08-29T12:13:12Z","pushed_at":"2015-08-29T17:44:08Z","git_url":"git://github.com/OmniSharp/omnisharp-roslyn.git","ssh_url":"git@github.com:OmniSharp/omnisharp-roslyn.git","clone_url":"https://github.com/OmniSharp/omnisharp-roslyn.git","svn_url":"https://github.com/OmniSharp/omnisharp-roslyn","homepage":"","size":6690,"stargazers_count":128,"watchers_count":128,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":67,"forks":58,"open_issues":67,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293"},"html":{"href":"https://github.com/OmniSharp/omnisharp-roslyn/pull/293"},"issue":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/293"},"comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/statuses/c14cd5bf778d3b61981c75a2dd2c5334209cffcf"}}}}